Filesystem Cleanup (Remove Old Directories)
By Kernel 7 On June 1st, 2009A small nifty script that you can schedule to cleanup and free some disk space by removing log directories created 30 days ago from the script’s run time:
find /LOG_DIR/ -not -ctime -30 -type d -exec rm -vrdf ‘{}’ ‘;’ ; sync