Tente isto:
find -type d -path '.svn' -prune -o -print
Em man find na seção sobre -name :
To ignore a directory and the files under it, use
-prune; see an example in the description of-path.
Na seção sobre -path :
To ignore a whole directory tree, use
-prunerather than checking every file in the tree. For example, to skip the directorysrc/emacsand all files and directories under it, and print the names of the other files found, do something like this:find . -path ./src/emacs -prune -o -print
Na seção "Exemplos":
However, the
-pruneaction itself returns true, so the following-oensures that the right hand side is evaluated only for those directories which didn't get pruned (the contents of the pruned directories are not even visited, so their contents are irrelevant).