Skip to content

Instantly share code, notes, and snippets.

@makokal
Created September 16, 2012 19:33
Show Gist options
  • Save makokal/3734030 to your computer and use it in GitHub Desktop.
Save makokal/3734030 to your computer and use it in GitHub Desktop.
Zip all local modification in a svn repo
#!/bin/sh -e
if [ $# -ne 2 ]; then
echo usage: $0 working_copy_path zip_file_path
exit 1
fi
cd $1 && svn status | grep ^[AM] | awk '{print $2}' | zip $2 -@
echo "Done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment