Skip to content

Instantly share code, notes, and snippets.

@patrickgill
Last active August 29, 2015 14:19
Show Gist options
  • Save patrickgill/b01c1a045d068d6750e2 to your computer and use it in GitHub Desktop.
Save patrickgill/b01c1a045d068d6750e2 to your computer and use it in GitHub Desktop.
SVN export a folder
#!/bin/bash
# usage svnexportpath.sh url
tree_master="tree/master"
svn export ${1/$tree_master/trunk} ${1##*/}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment