//View Tip #562
Similar Tips
» Count files by type
» Get latest stable version of the Linux kernel
» Checksum directory recursively
» Find last modified files on a filesystem
» Actively Monitor a File

 

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