#!/bin/bash cd "$HOME/notes" || exit 1 # TODO: # - Arguably the following should select _things that are linked to_ as well. # That is, I want to be able to automate links to stuff that I haven't # actually defined a page for yet. # - Also, arguably, the grep should be done in notes-pages instead. It was # just kind of a pain when I was looking at this. sort \ <(notes-pages --format name| grep -v '^(log|diary)/') \ pinboard-tag-index \ p1k3-index \ | uniq