Showing posts with label Count the number of files in each directory recursively. Show all posts
Showing posts with label Count the number of files in each directory recursively. Show all posts

Thursday, February 23, 2012

Count the number of files in each directory recursively

find ./ -type d -exec sh -c "echo -n {} ' ' ; ls -l {} | wc -l" \;