1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:29:02 -08:00
rc/sh/dbusiest

9 lines
167 B
Text
Raw Normal View History

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