日期:2014-05-16  浏览次数:20574 次

linux 删除目录下的N天前的文件

find /var/log/xxx -daystart -type f -mtime 7 -exec rm -f '{}' ';'