cvs add files recursively – not already in repository
When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that.
cvs status 2>/dev/null | awk '{if ($1=="?")print "cvs add -kb " $2}'
Well, if you are adding text files then you might want to remove the “-kB” in the cvs command above.
Related articles