mirror of
https://github.com/notwa/rc
synced 2024-10-31 16:54:35 -07:00
8 lines
167 B
Bash
Executable file
8 lines
167 B
Bash
Executable file
#!/bin/zsh
|
|
local c d
|
|
for d in *(FDN); do
|
|
print $(find $d 2>/dev/null | wc -l) $d
|
|
done | sort -nr | while read c d; do
|
|
echo -E $c $d
|
|
done
|
|
[ -z $d ] && return 1
|