Automate Everything: Ruby, Linux and other hints, tips and tricks.

Adding all new files recursively to Subversion

Sometimes you want to add a lot of new files to a subversion repository. An smart solution can be found on this post:

svn status | grep "^?" | awk '{print $2}' | xargs svn add

That will add the new files to the repository in just one command, not looping around for each file. Cool!

You can follow any responses to this entry through the RSS 2.0 feed.