shellnotes/util/listnotes/n/n.sh

11 lines
347 B
Bash
Raw Normal View History

2021-02-20 09:47:46 +01:00
:<<'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."