quick script for adding new svn files to repository

svn status | grep ? | awk ‘{print $2}’ | xargs svn add

This is on a FreeBSD box. I have noticed xargs on linux is slightly different – on linux try changing the xargs line to codeprexargs -i -t svn add {}/pre/code

Posted on November 28, 2005 at 4:32 pm by doug · Permalink
In: Uncategorized

Leave a Reply