/archiver-rs

Primary LanguageRustApache License 2.0Apache-2.0

archiver-rs

Archive directory as follows:

  • Compress each file using selected compression: gz, zst, br, lz4, sz, zip
  • Archive all compressed file using tar

Command use

Archive files using gz:

archiver ~/tmp/fonts ~/tmp/fonts.gz.tar

Archive files using zst:

archiver ~/tmp/fonts ~/tmp/fonts.zst.tar

List files from archive file:

archiver ~/tmp/fonts.gz.tar

Unarchive files from archive file:

archiver ~/tmp/fonts.gz.tar --output=~/tmp/fonts-new
archiver ~/tmp/fonts.gz.tar --file=go.mod