Getter

Getter is a small Linux shell script that eases the process of downloading and extracting tar.gz, tar.bz2, zip and rar archives. It is intended to be used when distributing packages to a non-Linux-savvy audience. (Users just need to run a single command.)

Download

Platform Version Package Size
Linux (sh) 1.0 – 2011-12-13 getter.sh (right-click -> Save as…) 1 KB
Git repository Development https://github.com/patrickmn/getter

Usage

curl -s https://cdn.pmylund.com/files/tools/getter/getter.sh | sh -s http://example.com/myarchive.tar.gz

The above command will download the file myarchive.tar.gz, and extract it to the current directory using the appropriate command—in this case tar xvz.