Automatically add all new files in the current dir.


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.