# Prints the folder name number of files and folders in each subdirectory.
for i in *; do show="$i"; num=`ls "$i" | wc -l`; echo "$show: $num"; done;
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.