[Scons-users] Cleaning up the cache

Evan Driscoll driscoll at cs.wisc.edu
Thu Jul 12 13:10:09 EDT 2012


On 7/12/2012 11:58 AM, Chris BeHanna wrote:

> AGE="+7" # days

>

> find /path/to/scons-cache ! -type -mtime +$AGE -delete


Yep, that's basically what I did too.

Make sure if you put a script that does that in the actual cache
directory so that it's easy to find that the find command doesn't remove
the script too in a week. :-)

Evan


More information about the Scons-users mailing list