I often use the find command to search through source code, delete files, whatever. Annoyingly, because Subversion stores duplicates of each file in its .
find
.
I use find with the -not -path options. I have not had good luck with prune.
find . -name "*.groovy" -not -path "./target/*" -print
will find the groovy files not in the target directory path.