Created
July 4, 2011 08:32
-
-
Save fs111/1063071 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
#!/bin/bash | |
#cron jobs have no env... | |
export PATH=/bin/:/usr/bin | |
# removes all snapshots that have not been accessed in the last 7 days | |
rm -r $(find /home/pcrun/.m2/repository -name *SNAPSHOT* -atime +6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment