Skip to content

Instantly share code, notes, and snippets.

@nobeans
Created December 8, 2010 00:49
Show Gist options
  • Save nobeans/732720 to your computer and use it in GitHub Desktop.
Save nobeans/732720 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ "$1" == "" ];then
echo "Usage: `basename $0` <GIST_ID>" >&2
exit
fi
GIST_ID=$1
wget https://gist.github.com/gists/$GIST_ID/download -O - 2>/dev/null | tar zxvf - -O - 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment