Skip to content

raulfraile/distill-cli

Repository files navigation

distill-cli: Command line tool to extract files from compressed archives

Build Status Latest Stable Version Total Downloads Latest Unstable Version

distill-cli is a command line tool to extract files from compressed archives. It relies on the raulfraile/distill library to extract files from bz2, gz, phar, rar, tar, tar.bz2, tar.gz, tar.xz, 7z, xz and zip archives.

Installation

Locally

Download the distill-cli.phar file and store it somewhere on your computer.

Globally (manual)

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

then:

$ sudo chmod a+x /usr/local/bin/distill-cli

Then, just run distill-cli.

Globally (Composer)

To install 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:

export PATH="$PATH:$HOME/.composer/vendor/bin"

Usage

$ distill-cli command file [target]

Example:

$ distill-cli extract archive.tar.gz path/

Credits

License

distill-cli is released under the MIT License. See the bundled LICENSE file for details.

About

Command line tool to extract files from compressed archives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages