Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find /path/to/files* -mtime +10 -exec rm {} ;
- find /path/to/files -type f -mtime +10 -delete
- # delete *.tmp files
- find . -type f -name '*.tmp' -delete
- # delete ALL files
- find . -type f -name '*.tmp' -delete
- $ find -type f
- tmpreaper -t 5d ~/Downloads
- tmpreaper --protect '*.c' -t 5h ~/my_prg
- find /path/to/files* -type f -mtime +10 -exec rm '{}' '+'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement