summaryrefslogtreecommitdiffstats
path: root/find-inodes
blob: 133c407bfa8c2ecb6b91af65187035589d00aabf (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
GLOBIGNORE=.
(
for i in *; do
	a=$(find "./$i" -xdev | wc -l)
	printf "%s" "${a%\n}"
	printf " - %s\n" "$i"
done
) | sort -n