aboutsummaryrefslogtreecommitdiff
path: root/bin/cfr
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-02 14:33:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-02 14:33:21 +1200
commit048e6446f914c188fb57693f75366e89f5974190 (patch)
tree3f3e5cdee896ed382075167f31319ff7e2bf28f1 /bin/cfr
parentAdd mean(1df), med(1df), and mode(1df) (diff)
downloaddotfiles-048e6446f914c188fb57693f75366e89f5974190.tar.gz
dotfiles-048e6446f914c188fb57693f75366e89f5974190.zip
Add some interesting notes to cfr(1df)
Diffstat (limited to 'bin/cfr')
-rwxr-xr-xbin/cfr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cfr b/bin/cfr
index 691d4542..896126f5 100755
--- a/bin/cfr
+++ b/bin/cfr
@@ -1,5 +1,5 @@
#!/bin/sh
-# Count all descendants of given directories
+# Count all descendants of given directories; don't follow symlinks
for dir in "${@:-.}" ; do
tot=$(find "$dir" -type d \
-exec sh -c 'cd -- "$1" && cf' _ {} \; |