Command line tool to extract files from compressed archives
distill-cli is a command line tool to extract files from compressed archives. It relies on the raulfraile/distill
library to extract files from
Download the distill-cli.phar file and store it somewhere on your computer.
You can run these commands to easily access distill-cli from anywhere on your system:
$ sudo wget https://raw.githubusercontent.com/raulfraile/distill-cli/master/bin/distill-cli.phar -O /usr/local/bin/distill-cli
or with curl:
$ sudo curl https://raw.githubusercontent.com/raulfraile/distill-cli/master/bin/distill-cli.phar -o /usr/local/bin/distill-cli
$ sudo chmod a+x /usr/local/bin/distill-cli
Then, just run
distill-cli, install Composer and issue the following command:
$ ./composer.phar global require raulfraile/distill-cli @stable
Then, make sure you have ~/.composer/vendor/bin in your PATH, and you're good to go:
$ distill-cli command file [target]
$ distill-cli extract archive.tar.gz path/
distill-cli is released under the MIT License. See the bundled LICENSE file for details.