Skip to content

Instantly share code, notes, and snippets.

@dyurk
Created December 15, 2012 18:51
Show Gist options
  • Save dyurk/4298097 to your computer and use it in GitHub Desktop.
Save dyurk/4298097 to your computer and use it in GitHub Desktop.
Count Files
find -maxdepth 3 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" | wc -l; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment