tags:

views:

14

answers:

1

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

+2  A: 

Using -o (or):

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