摘要: find /root/test -mtime +21 -name "*.*" -exec rm -Rf {} \; /root/test :准备要进行清理的任意目录 最后可以有/ -mtime:标准语句写法 +10:查找10天前的文件,这里用数字代表天数,+30表示查找30天前的文件 ".":希望查 阅读全文
posted @ 2022-10-12 14:31 小秦的开发梦 阅读(708) 评论(0) 推荐(0)