Recursively list all files of a specific type using Command-line Interface
To recursively find all of the files of a specific type in a directory, you can use the
find command with the
The following command will recursively find and list all files with a
.php extension in the current directory.
$ find . -name "*.php"