Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
481 B

#!/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