SVN add all unversioned files at once

SVN add all unversioned files at once

Hold on Cowboy

This blog post is pretty old. Be careful with the information you find in here. It's likely dead, dying, or wildly inaccurate.

If you want to add all the unversioned files at once to subversion, then you either have to type in all the paths or try this.

Add this to your .bash_profile svn_add_all(){ svn status | grep "^?" | awk '{print $2}' | xargs svn add }

Then typing svn_add_all will add all the files underneath your current working directory.

![](http://img.zemanta.com/pixy.gif?x-id=62d41ef9-7c40-82d8-aff8-4fc7fbb98804)