//View Tip #562
Similar Tips
» Command line currency conversion
» Randomize lines in a file
» Close shell keeping all subprocess running
» Counts files in the current directory and subdirectory
» Use ALT+. to insert last parameter


Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
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.

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

View Comments »


Add your comment

Comments are currently disabled
svn add * --force
Posted 2009-03-16 15:07:06

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit