Skip to content
Create a gist now

Instantly share code, notes, and snippets.

simple shell script to download a tar archive and extract it directly
#!/bin/sh
CURL=`which curl`
TAR=`which tar`
path=$1
shift
params=$*
$CURL $path | $TAR -x $params
getar http://path/to/tar [tar arguments]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.