Wednesday, October 3, 2012

Delete files older than 30 days in Unix/Linux



find /home/amit/log/ -mtime +30 -exec rm {} \;  

No comments: