/usr/bin/find /home/user/oldlogs/ -maxdepth 1 -type d -mtime +90 -exec rm -rf {} \;
Monday, October 4, 2010
Recursively delete old directories
careful with this one!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment