X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ffiles%2Ffast_counter.sh;h=6ab489902be7b7f69adbc0c71156e6cbb03f46a8;hb=4927b94ae6dc946a06a192319968697d48e9f951;hp=e359514e6298495a6819303601274d60354143ef;hpb=3d87e1de185daea3f52f671b963aaea0a669d10b;p=feisty_meow.git 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: