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}')
  4. #usage {COMMAND_NAME} # will zip changed files

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.