Created
December 19, 2022 09:27
-
-
Save monnoval/bf4765d0ae89092a06175d0481c8533f to your computer and use it in GitHub Desktop.
How many files are there in each folder
This file contains hidden or 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
# How many files are there in each folder | |
# https://stackoverflow.com/a/26458853 | |
for i in */ .*/ ; do | |
echo -n $i": " ; | |
(find "$i" -type f | wc -l) ; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment