add tag command to grep for tag
This commit is contained in:
parent
e21f2470ef
commit
b742baf020
2 changed files with 6 additions and 2 deletions
2
bash/tag.sh
Executable file
2
bash/tag.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# just list the files so we can pipe it.
|
||||||
|
grep -l "\+ $@" *md
|
||||||
6
bash/um
6
bash/um
|
|
@ -18,8 +18,10 @@ case "$1" in
|
||||||
rename)
|
rename)
|
||||||
$UMBASEPATH/rename.sh "${@:2}"
|
$UMBASEPATH/rename.sh "${@:2}"
|
||||||
;;
|
;;
|
||||||
|
tag)
|
||||||
|
$UMBASEPATH/tag.sh "${@:2}"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
# else
|
echo "usage: um (next|last|cat|rename|tag)"
|
||||||
echo "usage: um (next|last|cat|rename)"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue