UNIX find command – ignore .svn directories Posted on 2012/08/28 by james find . -path '*/.svn' -prune -o -type f | xargs grep "foobar" find . -type d | grep -v "\.svn/*"