Tuesday, April 20, 2010

Recursively Adding files to CVS

I'm still running a couple of projects which rely on CVS for version control. But adding more folders recursively is very painful. So I use this line as many times as there still being files/folders to be added.

cvs update -R -P -d | grep "?" | cut -d " " -f 2 | while read line ; do cvs add $line ; done

No comments:

Post a Comment