Shell,使用find,rm删除指定天数前的文件

eg.
删除/root/Backup目录下30天前的文件

find /root/Backup -mtime +30 -name "*.*" -exec rm -rf {} \;  

Grizzly

Never say never!