diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-02 14:33:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-02 14:33:21 +1200 |
commit | 048e6446f914c188fb57693f75366e89f5974190 (patch) | |
tree | 3f3e5cdee896ed382075167f31319ff7e2bf28f1 /bin/cfr | |
parent | Add mean(1df), med(1df), and mode(1df) (diff) | |
download | dotfiles-048e6446f914c188fb57693f75366e89f5974190.tar.gz dotfiles-048e6446f914c188fb57693f75366e89f5974190.zip |
Add some interesting notes to cfr(1df)
Diffstat (limited to 'bin/cfr')
-rwxr-xr-x | bin/cfr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' _ {} \; | |