anjakammer
12/19/2016 - 3:22 PM

get file count of all subfolders

get file count of all subfolders

find -maxdepth 1 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" -type f | wc -l; done