Ninjaboard
Please login
Forgot Your Login?
Welcome, Guest
Board Index > Software Problems > SVN add for all un-added files
Post ReplySoftware Problems
Ninjaboard - Newie
Posts: 14
Registered
Joined Board
07/20/2009 22:30
User is Offline
View all users posts
[code:1]svn status | grep "^?" | awk '{print $2}' |
xargs svn add[/code:1]
And much less pretty, but for files with spaces in them:
[code:1]svn status | grep "^?" | sed -e 's/? *//' |
sed -e 's/ /\ /g' | xargs svn add[/code:1]
from http://lukewarmtapioca.com/2005/6/1/adding-all-new-files-with-svn
xargs svn add[/code:1]
And much less pretty, but for files with spaces in them:
[code:1]svn status | grep "^?" | sed -e 's/? *//' |
sed -e 's/ /\ /g' | xargs svn add[/code:1]
from http://lukewarmtapioca.com/2005/6/1/adding-all-new-files-with-svn
