Posted By

berkes on 12/22/07


Tagged

svn Bash utilities


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mitry


Automatically add all new files in the current dir.


 / Published in: Bash
 

  1. #!/bin/bash
  2.  
  3. if [ ! "$1" ]
  4. then
  5. 1='.'
  6. fi
  7.  
  8. echo "Processing $1"
  9. svn add $1 `svn st $1 | grep '^?.*' | tr -d '? ' | sort -n | tr '\n' ' '`

Report this snippet  

You need to login to post a comment.