Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #count the number of files in each folder and sort them from lest to most
- find . -type f | awk -F\/ '{print $2}' | sort | uniq -c | sort -n | awk '{print $1 " " substr($0,index($0,$2))}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement