Created
December 11, 2013 06:06
-
-
Save likejazz/7905757 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 | |
for gid in `seq 0 9` | |
do | |
for cid in `seq 0 1` | |
do | |
CMD="find ./$gid.$cid/ -mtime +30 -exec rm {} \;" | |
date | |
echo $CMD | |
find ./$gid.$cid/ -mtime +30 -exec rm {} \; | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment