Created
January 2, 2019 08:46
-
-
Save mattonit/14e36e381a434b9f250c7bb0c66a2556 to your computer and use it in GitHub Desktop.
Delete files older than 2 months
This file contains 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 /path/to/files -type f -name '*.tar' -mtime +60 -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment