//View Tip #562
Similar Tips
» Remove empty directories
» Get your IP address
» Change extension of files in the current directory
» Convert seconds to Hours, Minutes and Seconds
» Splitting arguments with read

 

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 »




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