summaryrefslogtreecommitdiff
path: root/datasets/count_subdirs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'datasets/count_subdirs.sh')
-rwxr-xr-xdatasets/count_subdirs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/datasets/count_subdirs.sh b/datasets/count_subdirs.sh
new file mode 100755
index 0000000..3999b3c
--- /dev/null
+++ b/datasets/count_subdirs.sh
@@ -0,0 +1 @@
+find -maxdepth 1 -type d | sort | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" -type f | wc -l; done