sax 0.2.1

A simple but smart archiving and extraction tool.
sax-0.2.1 is not a library.

sax

A simple but smart archiving and extraction tool.

Will automatically detect archive type and extract correctly, you no longer need to google tar flags.

sax is developed for linux only, I have no interest into testing targets I don't personally use, but feel free to contribute.

Installation

From source

cargo install --git https://github.com/rahmerh/sax

Usage

sax <archive> <out>
sax --help
sax --version

Extracts the contents of an archive into the output directory, creating it if needed.

Supported archive formats: zip, tar, tar.gz, tgz, tar.xz, txz, tar.bz2, tbz2, tar.zst, tzst, 7z, rar.

sax input.zip out/
sax backup.tar.gz restored/

Todo

  • Extracting zip archives
  • Extracting tar archives
  • Extracting 7z archives
  • Extracting rar archives
  • Creating archives
    • Smart mode (automatically detect best archive for use case)
    • Manual mode (provide required format)
    • Override options