查找当前目录下 5 天前的所有文件 ,并删除

find ./ -mtime +5 |xargs rm -rf


更详细使用方法请参阅 http://www.cnitblog.com/201/archive/2015/12/17/90321.html