Count Arquivos Recursivamente Linux
find DIR_NAME -type f | wc -l
Cheerful Capuchin
find DIR_NAME -type f | wc -l
find . -type f | cut -d/ -f2 | sort | uniq -c | sort -nr
find . -type f -print | wc -l
find . -maxdepth 1 -type d | while read -r dir
do printf "%s:\t" "$dir"; find "$dir" -type f | wc -l; done
du -a | cut -d/ -f2 | sort | uniq -c | sort -nr