Skip to content

Instantly share code, notes, and snippets.

@evanwalsh
Created December 31, 2008 03:22
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 evanwalsh/41876 to your computer and use it in GitHub Desktop.
Save evanwalsh/41876 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Let's get a git repo on a host that doesn't have it
curl -L http://github.com/$1/$2/tarball/master -o $1-$2.tar.gz > /dev/null
echo "Download of tarball complete."
tar -xf $1-$2.tar.gz > /dev/null
rm $1-$2.tar.gz
echo "Untarring of tarball complete."
echo "Feel free to change to the new dir"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment