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 underneith your current working directory.

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

Did this help you out? It took me a few days to piece together all this information together, I hope this saves you some time (who knows, maybe the future me will be thankful I wrote this down). Let me know your thoughts. shanestillwell@gmail.com