[root@ob2 mytmp]# find -mtime -7 -type f \( -name "*.html" -o -name "*.tar.gz" \)./02.html./03.html./tp_2017-09-143516.tar.gz./01.html
[root@ob2 mytmp]# find -mtime -7 -type f \( -name "*.html" -o -name "*.tar.gz" \)
./02.html./03.html./tp_2017-09-143516.tar.gz./01.html括号和代码间有空格
[root@ob2 mytmp]# find -mtime -7 -type f \( -name "*.html" -o -name "*.tar.gz" \)
./02.html./03.html./tp_2017-09-143516.tar.gz./01.html[root@ob2 mytmp]# find -mtime +7 -type f \( -name "*.html" -o -name "*.tar.gz" \)./aa.html===================================下面写法逻辑显示不对
[root@ob2 mytmp]# find -type f -name "*.html" -o -name "*.tar.gz" -mtime +7
./02.html./aa.html./03.html./01.html[root@ob2 mytmp]# find -type f -name "*.html" -o -name "*.tar.gz" -mtime -7./02.html./aa.html./03.html./tp_2017-09-143516.tar.gz./01.html