From 4d8130030ee8880a0542926a62ae6f914a94f405 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