find /opt/logs -mtime +1 -name "log.*" -exec rm -f {} \;
本文标题:删除指定时间之前的文件
本文链接:https://www.haomeiwen.com/subject/didtnrtx.html
网友评论