Differences
This shows you the differences between two versions of the page.
tech:linux:delete_files_using_find [2014/11/15 09:13] |
tech:linux:delete_files_using_find [2014/11/15 09:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Deleting files with a certain extension across directories ====== | ||
+ | |||
+ | This will delete all *.txt.gzip files | ||
+ | |||
+ | find . -name "*.txt.gz" -exec rm -rf "{}" \; | ||