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 crates.io
Usage
Extracts the contents of an archive into the output directory, creating it if needed. If the archive contains a single top-level directory, sax strips it by default and extracts that directory's contents directly into the output directory.
This can be controlled by setting your preference in the config file.
Configuration is stored in ~/.config/sax/config.yaml by default,
or $XDG_CONFIG_HOME/sax/config.yaml when XDG_CONFIG_HOME is set.
Alternatively, you can use --strip or --no-strip to override the configured behavior for a
single extraction.
Supported archive formats: zip, tar, tar.gz, tgz, tar.xz, txz, tar.bz2, tbz2, tar.zst, tzst, 7z, rar.
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