Created
February 17, 2015 15:32
-
-
Save fruitl00p/5b8d2aede79cc6177a11 to your computer and use it in GitHub Desktop.
clean up old files
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
# 20150215 at midnight | |
rm -rf /tmp/t && touch -t 201502160000 /tmp/t | |
find $directory -type f -not -newer /tmp/t -print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment