$ find -type f ! -path '*CVS*' | xargs -n1 cvs tag GENERIC_TAG_NAMEThis will find all files, ignoring everything in the CVS folders, and then run the cvs tag command on them. If it fails to tag one file, it will continue on to the next.
A compilation of varied technical gems learned over many years of experience in the industry.
Hint for the confused: Endian is a Computer Science term--the title is a play on words, not a misspelling.
Sunday, April 25, 2010
CVS: Tagging Individual Files
In order to tag individual files for creating a minimal set for instance, delete all the extra files from the directory, but leave in the CVS directories. Then run the following command replacing GENERIC_TAG_NAME with the tag for CVS.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment