Insomnia

bash & Subversion command line

I loath GUI utilities for manipulating source control. All my co-workers use TortoiseSVN, but I try to do anything from the command-line.

One thing that can’t (as far as I know) be done from the command line is to bulk add all new files.

So.. I use this:

% svn st | grep ^? |  awk ‘{print "svn add "$2 }’ | bash

  • Posted on October 27, 2011
  • Tagged scm, svn, bash