linux删除指定目录一周之前的文件

find /home/hadoop/elasticsearch-2.4.3/logs/ -mtime +7 -name “master.log.*” -exec rm -rf {} ;web
相关文章
相关标签/搜索