find & rm

1)查找并删除3天前的历史文件

rm -rfi `find /tmp/ -ctime 3`

2)按分钟查找

find -cmin N

原文地址:https://www.cnblogs.com/feika/p/4496654.html