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