Posted By

endorfin on 03/13/09


Tagged

subversion


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wdso


Version all unversioned files in an SVN checkout


 / Published in: Bash
 

URL: http://www.shell-fu.org/lister.php?id=562

Sometimes, you want to add a lot of files to SVN from the command line. This simple command will find all unversioned files in an SVN checkout and adds them to SVN versioning.

  1. for i in `svn status | awk '{if ($1 == "?") print $2}'`; do svn add $i; done

Report this snippet  

You need to login to post a comment.