Friday, 15 December, 2006
Skipping .svn Directories
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
Posted by simonb on 12/15 at 06:48 PM
Programming • Comments (0) • Trackbacks (0) • Permalink • Email this bit
Programming • Comments (0) • Trackbacks (0) • Permalink • Email this bit
Page 1 of 1 pages