From: Chris Koeritz Date: Wed, 21 Jul 2021 21:01:07 +0000 (-0400) Subject: added dir name to make output useful X-Git-Tag: 2.140.134~12^2~20 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4d8130030ee8880a0542926a62ae6f914a94f405;p=feisty_meow.git added dir name to make output useful --- diff --git a/scripts/files/fast_counter.sh b/scripts/files/fast_counter.sh index e359514e..6ab48990 100644 --- a/scripts/files/fast_counter.sh +++ b/scripts/files/fast_counter.sh @@ -1,6 +1,7 @@ for dir in "${@}"; do + echo -n "files in '$dir':" /bin/ls -1fR "$dir" | grep -v "^$" | grep -v "^\.$" | grep -v "^\.\.$" | grep -v ".*:$" | wc -l # patterns that remove files from being counted, above: