2013-06-28 05:22:14 -07:00
|
|
|
#!/bin/zsh
|
|
|
|
local c d
|
2013-07-08 17:46:33 -07:00
|
|
|
for d in *(FDN); do
|
2013-06-28 05:22:14 -07:00
|
|
|
print $(find $d 2>/dev/null | wc -l) $d
|
|
|
|
done | sort -nr | while read c d; do
|
|
|
|
echo -E $c $d
|
|
|
|
done
|
2013-07-08 17:46:33 -07:00
|
|
|
[ -z $d ] && return 1
|