You can use find command to recursively find all files in current and subfolders based on wildcard matching as shown in the below example –
1 2 3 4 5 |
## Find all files in current directoty based on a certain pattern find . -name "*.txt" ## Find all files in a specific location based on a certain pattern find /some/path/that/exists/ -name "*.txt" |