projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb66c19
)
added dir name to make output useful
author
Chris Koeritz
<fred@gruntose.com>
Wed, 21 Jul 2021 21:01:07 +0000
(17:01 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 21 Jul 2021 21:01:07 +0000
(17:01 -0400)
scripts/files/fast_counter.sh
patch
|
blob
|
history
diff --git
a/scripts/files/fast_counter.sh
b/scripts/files/fast_counter.sh
index e359514e6298495a6819303601274d60354143ef..6ab489902be7b7f69adbc0c71156e6cbb03f46a8 100644
(file)
--- 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: