Working with a source code repository on the command line. I want to search all files in my checkout, but not the ".dotfile" metadata from the repository mechanism. The Unix "find" command has a -prune option whose function is hard to remember. So here for the record, that's how it is used for that purpose:
find . \( -name .svn -o -name CVS \) -prune -o -type f -print
keywords: unix, linux, programming, search, find, exclude, revision control, cvs, subversion