Skipping .svn Directories
18:48 Friday, 15 December 2006
find and grep are the programmers friend. But when using Subversion find will also decend into .svn directories. Generally we don’t want this to happen. The following find command will skip .svn directories. For more type ‘man find’ at your favorite prompt.
find . \( -type d -and -name .svn -and -prune \) -or -type f -print