Skip to content

Instantly share code, notes, and snippets.

@bluefuton
Created March 26, 2012 10:35
Show Gist options
  • Save bluefuton/2204364 to your computer and use it in GitHub Desktop.
Save bluefuton/2204364 to your computer and use it in GitHub Desktop.
Create an archive of the changed files between two Subversion revisions, preserving directory structure
# Based upon http://serverfault.com/a/49324
tar -cf archive.tar `svn diff -r 542:HEAD --summarize | grep -v "^D" | awk '{print $2}' | grep -vw "."`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment