Last active
March 15, 2018 17:54
-
-
Save dubcl/096d92811b417b5cc5134811fda7a4af to your computer and use it in GitHub Desktop.
find older than and delete
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /foo/ -type f -mtime +7 -name '*.gz' -exec rm -f {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment