Created
June 17, 2017 05:58
-
-
Save venuktan/77569fbac31ebfd69b89b187bc6b419b to your computer and use it in GitHub Desktop.
linux list number of files in each subdirectory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -type d -readable -exec sh -c 'printf "%s " "$1"; ls -1UA "$1" | wc -l' sh {} ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment