sax

command module
v0.0.0-...-bf46d36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2026 License: MIT Imports: 16 Imported by: 0

README

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
go install github.com/rahmerh/sax@latest

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL