add tag command to grep for tag

This commit is contained in:
bth 2024-01-13 22:04:03 -08:00
commit b742baf020
2 changed files with 6 additions and 2 deletions

2
bash/tag.sh Executable file
View file

@ -0,0 +1,2 @@
# just list the files so we can pipe it.
grep -l "\+ $@" *md

View file

@ -18,8 +18,10 @@ case "$1" in
rename)
$UMBASEPATH/rename.sh "${@:2}"
;;
tag)
$UMBASEPATH/tag.sh "${@:2}"
;;
*)
# else
echo "usage: um (next|last|cat|rename)"
echo "usage: um (next|last|cat|rename|tag)"
;;
esac