From f1d9343d5521e51a2b05417ba5e2a524c71c2ac1 Mon Sep 17 00:00:00 2001 From: dmarakom6 Date: Sat, 20 Feb 2021 10:47:46 +0200 Subject: [PATCH] "n" parameter for listnotes --- util/listnotes/n/n.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 util/listnotes/n/n.sh diff --git a/util/listnotes/n/n.sh b/util/listnotes/n/n.sh new file mode 100644 index 0000000..71a07cb --- /dev/null +++ b/util/listnotes/n/n.sh @@ -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." \ No newline at end of file