Software Development
Pages
Home
About
Contact
Wednesday, June 13, 2007
Adding multiple files to Subversion at once
svn st | grep "^?" | awk '{ print $2}' | while read f; do svn add $f; done
If you want all the ? files to be added. Found this tip here http://www.gregwhitescarver.com/blog/2006/05/22/add-multiple-files-in-subversion-at-once/
1 comment:
tongueroo
9:47 AM
svn st | grep "^?" | awk '{ print $2}' | xargs svn add
works also
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
svn st | grep "^?" | awk '{ print $2}' | xargs svn add
ReplyDeleteworks also