Published
- 1 min read
linux search directory recursively for all files with extension
The solution for this is noted below
linux search directory recursively for all files with extension
Solution
find "$directory" -type f -name "*.in"
# Example: To find all csv files in the current directory and its sub-directories, use:
find . -type f -name '*.csv'
Try other methods by searching on the site. That is if this doesn’t work