Skip to content

Instantly share code, notes, and snippets.

@nmandery
Created March 15, 2011 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmandery/871034 to your computer and use it in GitHub Desktop.
Save nmandery/871034 to your computer and use it in GitHub Desktop.
bash function to download github tarballs
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