Created
March 15, 2011 16:59
-
-
Save nmandery/871034 to your computer and use it in GitHub Desktop.
bash function to download github tarballs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wget_github { | |
GHUSER=$1 | |
GHREPO=$2 | |
wget --no-check-certificate "https://nodeload.github.com/$GHUSER/$GHREPO/tarball/master" -O "./$GHUSER-$GHREPO.tar.gz" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment