summaryrefslogtreecommitdiffstats
path: root/find-inodes
blob: 111c64e7e4f74b7ddd982a4d4ec6a65857e9ae24 (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