Skip to content

Instantly share code, notes, and snippets.

@atma
Created May 10, 2013 02:13
Show Gist options
  • Save atma/5551973 to your computer and use it in GitHub Desktop.
Save atma/5551973 to your computer and use it in GitHub Desktop.
Count all the files in a directory and all it's subdirectories
for i in /*; do echo $i; find $i | wc -l; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment