linux find命令 CoderSunYu 2018-12-27 433 阅读1分钟 1、查找大文件 find . -type f -size +1000M -exec ls {} \; 2、忽略目录a find . -path ./a -prune -o -type f -size +1000M -exec ls {} \; 3、忽略目录a和b find . \( -path ./a -o -path ./b \) -prune -o -type f -size +1000M -exec ls {} \; 上面命令中,括号()需要加反斜杠转义