go install github.com/pt-main/pack/cmd/pack@latestA minimalistic file archiver that works in the CLI.
It packs files into a single .pack file with optional compression and encryption.
Create an archive:
pack create archive.pack
pack create input.txt archive.pack dataAdd files:
pack push archive.pack --script.py=myscript --config.json=cfgExtract a file:
pack get archive.pack myscript out.pyShow the structure:
pack struct archive.packShow file contents:
pack show archive.pack myscriptPack a directory:
pack files zip archive.pack ./myprojectAll files from ./myproject are added to the archive with relative paths as container names.
Unpack a directory:
pack files unzip archive.pack ./outputExtracts all files from the archive into ./output, preserving the folder structure.
--secure– AES‑GCM encryption--zip– gzip compression--key="..."– encryption key (16/24/32 bytes)
Flags specified at creation time must be used for all subsequent operations.
PACK@0
-> name (once)
-> metadata
-> containers: name -> data
Apache 2.0
By Pt, 2026, using Lc and Tap.