find & rm

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

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

2)按分钟查找

find -cmin N

 

posted @ 2015-05-12 10:37  samu  阅读(324)  评论(0编辑  收藏  举报