"n" parameter for listnotes

This commit is contained in:
dmarakom6 2021-02-20 10:47:46 +02:00
parent 1bfe36d6c9
commit f1d9343d55

11
util/listnotes/n/n.sh Normal file
View file

@ -0,0 +1,11 @@
:<<'info'
shellnotes - n.sh
(C) Dimitris Marakomihelakis
Released under the "All rights reserved" category. See the RIGHTS.txt file
in /docs/github/ for its full text.
info
folder="$(cat ~/.shellnotes/util/sd/sd-input3.txt)"
files="$(eval echo $(cat ~/.shellnotes/util/sd/sd-input3.txt) | xargs ls | wc -l)"
echo "Found $files files in $folder."