Created
February 7, 2017 08:23
-
-
Save shmaltorhbooks/a3f4ec139acecde479223252ef624b10 to your computer and use it in GitHub Desktop.
Delete files older that 5 days
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* -mtime +5 -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment