From 4927b94ae6dc946a06a192319968697d48e9f951 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 21 Jul 2021 17:01:07 -0400 Subject: [PATCH] added dir name to make output useful --- scripts/files/fast_counter.sh | 1 + 1 file changed, 1 insertion(+) 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: -- 2.34.1