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.128~1^2~20 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4927b94ae6dc946a06a192319968697d48e9f951;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: