/ Published in: Bash
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for i in `svn status | awk '{if ($1 == "?") print $2}'`; do svn add $i; done
URL: http://www.shell-fu.org/lister.php?id=562