zip from SVN Working folder changes (svn st)


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



Copy this code and paste it in your HTML
  1. #!/bin/bash
  2. zip $1 $(svn st | grep "^[AM]" | awk -F "[ \+]+" '{print $2}')
  3.  
  4. #usage {COMMAND_NAME} test.zip # will zip changed files

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.