Created
July 26, 2015 18:10
-
-
Save vladignatyev/7051cb9262365bd7d8ca to your computer and use it in GitHub Desktop.
Remove files and directories older than 7 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 . -mtime +7 -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment