开发者

how do i exclude more that one directory in this case ... find ./dir1 -name '.git' -prune

开发者 https://www.devze.com 2023-01-05 10:19 出处:网络
Ho开发者_JAVA百科w do I exclude more that one directory in this case: find ./dir1 -name \'.git\' -prune

Ho开发者_JAVA百科w do I exclude more that one directory in this case:

find ./dir1 -name '.git' -prune


Using -o (or):

find . '(' -name a -o -name b ')' -prune -o -print
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号