Created
January 31, 2017 09:24
-
-
Save fengye/632e7458b971ca3a6113fcd0f867affb to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
find -maxdepth 1 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" -type f | wc -l; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment