Skip to content

Instantly share code, notes, and snippets.

@likejazz
Created December 11, 2013 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save likejazz/7905757 to your computer and use it in GitHub Desktop.
Save likejazz/7905757 to your computer and use it in GitHub Desktop.
#!/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