unix%> /usr/bin/find . -type d -mtime +60 -exec /bin/rm -rf {} \;
Edited: per moritz's suggestion, recommend "mtime" instead of "atime" although it's all up to you...
In reply to Re: rm old directory
by shoness
in thread rm old directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |