Answers for "counting number of rows in each file within a folder using terminal"

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 "counting number of rows in each file within a folder using terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language