summaryrefslogtreecommitdiffstats
path: root/find-inodes
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-08-26 16:55:37 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-08-26 16:55:55 +0200
commitf69d17a76c205a740b1e930b8f6394242b41dd87 (patch)
treeb903f32e458353e4c85cabd06af5265ad0a9f685 /find-inodes
parent074227ca0bdcf6428f7fbc1cfbc78b35448b0a12 (diff)
downloadbin-f69d17a76c205a740b1e930b8f6394242b41dd87.tar.gz
bin-f69d17a76c205a740b1e930b8f6394242b41dd87.tar.xz
add find-inodes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'find-inodes')
-rwxr-xr-xfind-inodes3
1 files changed, 3 insertions, 0 deletions
diff --git a/find-inodes b/find-inodes
new file mode 100755
index 0000000..c1ae848
--- /dev/null
+++ b/find-inodes
@@ -0,0 +1,3 @@
+#!/bin/sh
+GLOBIGNORE=.
+(for i in *; do echo -n "$i: "; find $i | wc -l; done) | sort -nk2