Created
May 13, 2010 11:06
-
-
Save railsbob/399724 to your computer and use it in GitHub Desktop.
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
# Remove all files in a directory /backup/sql which are older than 7 days | |
find /backup/sql -mtime +168 -type f -name '*.sql' -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment