To recursively count files in a directory and subdirectories, you use the find or ls command with the -r option to list the files and wc command to count the number of files recursively in them on the Linux Ubuntu
Read More Count files Recursively in Directory and Subdirectories Linux