1
0
Fork
You've already forked archiver
0
Simple tool for packing, unpacking, and inspecting archives.
  • Go 100%
2026年06月09日 14:08:12 +02:00
cmd/arc Non-constant format string in call to report. 2025年04月25日 10:05:47 +02:00
internal Update version. 2025年04月25日 10:13:19 +02:00
.gitignore Cleanup. 2025年02月10日 20:47:56 +01:00
go.mod Update Go and dependencies. 2026年06月09日 14:08:12 +02:00
go.sum Update Go and dependencies. 2026年06月09日 14:08:12 +02:00
LICENSE WIP 2024年05月02日 07:23:53 +02:00
README.md Update README. 2024年06月11日 09:15:10 +02:00
TODO.md WIP 2024年05月02日 07:23:53 +02:00

Archiver

Simple (for now) tool for packing, unpacking, and inspecting archives.

See go.mod for the libraries that do all of the work!

Supported archive types:

  • tar
  • tar.gz
  • tar.s2
  • tar.xz
  • tar.zst
  • zip

Current status:

  • Good enough for me.
  • Seems to work.
  • No way to pass options for compression level. I don't need it (yet).

TODO

  • Sandbox
    • Linux
    • Windows?
    • OpenBSD: pledge
    • FreeBSD
  • Pass options to (un)archivers.

Benchmark

Details:

  • Chimera Linux, kernel 6.8.9-0-generic
  • AMD Ryzen 7 7700 8-Core
  • Samsung SSD 990 PRO 2TB
  • Go 1.22.3
  • OpenBSD source code, a recent git clone, 99709 files (and directories)
  • 1.6GiB

Pack:

tar 2.61s 1.5GiB
tar.gz 2.05s 269MiB
tar.s2 2.31s 365MiB
tar.xz 47.42s 214MiB
tar.zst 3.31s 224MiB
zip 15.95s 312MiB

Unpack:

tar 3.19s
tar.gz 3.72s
tar.s2 3.35s
tar.xz 120.44s
tar.zst 3.22s
zip 6.02s

Notes: