From the "Why haven't I thought of this before" files
cvs update 2>&1 | perl -ne 's/^\?\s+// and print' | xargs cvs add
Re:Too risky?
brian_d_foy on 2004-09-30T07:20:46
Well, you should look at the cvs status first. I don't do it without knowing what it is going to do first: it just saves me a lot of typing or cutting-and-pasting.:)
And why aren't you using.cvsignore? Hmmmm? Put files like blib and pm_to_blib in the global ignore file! Re:Too risky?
ambs on 2004-09-30T07:26:52
Global ignore file? Is there such a thing?Re:Too risky?
jonasbn on 2004-09-30T07:34:53
There are plenty of way to define the CVS ignores also globally.
This variable is appended last to the ignore list during a command. The list is built up in this order: CVSROOT/cvsignore, the.cvsignore file in your home directory, the $CVSIGNORE variable, any -I command option, and finally the contents of .cvsignore files in the working copy used as CVS works in each directory. A ! as the ignore specification at any point nullifies the entire ignore list built up to that point.
From: http://cvsbook.red-bean.com/cvsbook.html#$CVSIGNORE