Total Pageviews

Tuesday 14 June 2016

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

PlatformVersionPackageSize
Linux (sh)1.0 – 2011-12-13getter.sh (right-click -> Save as…)1 KB
Git repositoryDevelopmenthttps://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 xvx