Created
August 6, 2012 12:48
-
-
Save davidrenne/3274212 to your computer and use it in GitHub Desktop.
find files with extension sql who are older than 1 day and delete them
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
0 1 * * sun find /tmp -type f -a -mtime +1 -name "*.sql" -exec rm \{\} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment