search subdirectories for files with same extension code example Example: terminal find file by extension recursive find /directory/path -type f -name "*.in"