User Tools

Site Tools


directory:loop_through_files_in_directory_recursively

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
directory:loop_through_files_in_directory_recursively [2022/06/09 10:16] peterdirectory:loop_through_files_in_directory_recursively [2022/06/13 09:11] (current) – removed peter
Line 1: Line 1:
-====== Directory - Loop Through Files in Directory Recursively ====== 
- 
-**find** is one of the best commands to find files that satisfy specific criteria. 
- 
-<code bash> 
-find . -type f -print0 
-</code> 
- 
-<WRAP info> 
-**NOTE:**   
- 
-  * **dot(.)** specifies to find files in our present working directory. 
- 
-  * **-type f** to specify that we want to search for only files and not directories.  
-</WRAP> 
  
directory/loop_through_files_in_directory_recursively.1654769774.txt.gz · Last modified: 2022/06/09 10:16 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki