Posted By

narkisr on 10/20/08


Tagged

svn Bash add


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

moonbather


Bash function to easily add files to svn


 / Published in: Bash
 

Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).

  1. svnadd(){
  2. svn status| awk /$@/'{print $2}'| xargs svn add
  3. }
  4.  
  5. # usage is simple
  6. svnadd(filename)

Report this snippet  

You need to login to post a comment.