aboutsummaryrefslogtreecommitdiff
path: root/bin/finc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/finc.sh')
-rw-r--r--bin/finc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/finc.sh b/bin/finc.sh
new file mode 100644
index 00000000..2bbb9ae8
--- /dev/null
+++ b/bin/finc.sh
@@ -0,0 +1,2 @@
+# Count the number of entries from a find(1) condition
+find "${@:-.}" -exec printf .%sx {} + | wc -c