Exclude a directory from find linux
This question already has an answer here:
with -prune
find . -name directory_to_exclude -prune -o ...
to exclude many directories
find . ( -name dir1_to_exclude -o -name dir2 ... ) -prune -o ...
链接地址: http://www.djcxy.com/p/78122.html
上一篇: 使用find命令排除子目录
下一篇: 从find linux中排除一个目录