Categories
Linux

Number of files in directory (recursive file count)

ls -1R | wc -l

ls -1R | grep .*.mp3 | wc -l