This package browser is in early development. Mind the rough edges.

go-github-com-mholt-archiver-v3

Multi format archiver Golang library and CLI command

Package archiver facilitates convenient, cross-platform, high-level archival and compression operations for a variety of formats and compression algorithms.

Features:

  • stream-oriented APIs

  • automatically identify archive and compression formats

  • traverse directories, archive files, and any other file uniformly as io/fs file systems

  • compress and decompress files

  • create and extract archive files

  • walk or traverse into archive files

  • extract only specific files from archives

  • insert (append) into .tar and .zip archives

  • read from password-protected 7-Zip files

  • numerous archive and compression formats supported

  • extensible (add more formats just by registering them)

  • cross-platform, static binary

  • pure Golang (no cgo)

  • multithreaded Gzip

  • adjust compression levels

  • automatically add compressed files to zip archives without re-compressing

  • open password-protected rar archives

Supported compression formats:

  • brotli (.br)

  • bzip2 (.bz2)

  • flate (.zip)

  • gzip (.gz)

  • lz4 (.lz4)

  • lzip (.lz)

  • snappy (.sz)

  • xz (.xz)

  • zlib (.zz)

  • zstandard (.zst)

Supported archive formats:

  • .zip

  • .tar (including any compressed variants like .tar.gz)

  • .rar (read-only)

  • .7z (read-only)

Installation

Install the latest version of go-github-com-mholt-archiver-v3 as follows:

guix install go-github-com-mholt-archiver-v3

Or install a particular version:

guix install go-github-com-mholt-archiver-v3@3.5.1

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of go-github-com-mholt-archiver-v3 about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/go-github-com-mholt-archiver-v3'><img src='https://packages.guix.gnu.org/packages/go-github-com-mholt-archiver-v3/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/go-github-com-mholt-archiver-v3/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/go-github-com-mholt-archiver-v3)

Example Org:

[[https://packages.guix.gnu.org/packages/go-github-com-mholt-archiver-v3][https://packages.guix.gnu.org/packages/go-github-com-mholt-archiver-v3/badges/latest-version.svg]]