find /var/log/xxx -daystart -type f -mtime 7 -exec rm -f '{}' ';'
linux 删除目录下的N天前的文件
猜你喜欢
转载自renxiangzyq.iteye.com/blog/778462
今日推荐
周排行