file:delete_files_recursively

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
file:delete_files_recursively [2019/11/27 21:09] – removed peterfile:delete_files_recursively [2020/07/19 22:30] (current) – old revision restored (2016/11/18 16:02) 192.99.10.93
Line 1: Line 1:
 +====== File - Delete files recursively ======
 +
 +To remove all .txt files from directories recursively:
 +
 +<code bash>
 +find . -name .txt -print0 | xargs -0 rm -rf
 +</code>
  
file/delete_files_recursively.1574888973.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki