Advertisement
DECROMAX

Recusivly echo files with a specific extension

May 13th, 2024
1,679
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | Software | 0 0
  1. #  recusivly echo files with a specific extension
  2.  
  3. find {directory} -type f -name '*.extension'
  4.  
  5. # Example: To find all csv files in the current directory and its sub-directories, use:
  6.  
  7. find . -type f -name '*.csv'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement