Revision: 14403
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 3, 2009 01:32 by dividespace
Initial Code
Whippy posts on May 15, 2009 at 07:04 To get the 'A' status, the file must already be added. You need to match a '?'. Here is what I use: svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2}' | xargs svn add svn commit The first grep gets rid of any hidden files (which may be present if you use IDEs such as Zend studio). The second grep makes sure you only get files that are currently of unknown status (ie the new ones). awk grabs the file names. xargs passes the file names as parameters to svn add.
Initial URL
http://codesnippets.joyent.com/posts/show/45
Initial Description
Initial Title
Add all new files to svn repository
Initial Tags
svn
Initial Language
SVN