ubuntu:file:delete_files_recursively
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:file:delete_files_recursively [2020/07/15 09:30] – external edit 127.0.0.1 | ubuntu:file:delete_files_recursively [2022/06/13 10:32] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - File - Delete files recursively ====== | ||
- | |||
- | To remove all .txt files from directories recursively: | ||
- | |||
- | <code bash> | ||
- | find . -name .txt -print0 | xargs -0 rm -rf | ||
- | </ | ||
ubuntu/file/delete_files_recursively.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1