Tarloader

Gem Version Build Status Coverage Status Inline docs

Source code downloader and unpacker with cache.

Overview

Let’s say we want to download archive http://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2, which has MD5 hash 64146a0faa3b411ba774f47d41de239f, and extract it’s content to the folder $HOME/binutils.

With tarloader we can run the following command to do this:

sh tarloader http://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2 \ --md5 64146a0faa3b411ba774f47d41de239f \ --to "$HOME/binutils"