Answers for "How to count number of files in each directory"

2

How to count number of files in each directory

du -a | cut -d/ -f2 | sort | uniq -c | sort -nr
Posted by: Guest on June-11-2020

Code answers related to "How to count number of files in each directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language