Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pack — file orchestrator

go install github.com/pt-main/pack/cmd/pack@latest

A minimalistic file archiver that works in the CLI.
It packs files into a single .pack file with optional compression and encryption.

Commands

Create an archive:

pack create archive.pack
pack create input.txt archive.pack data

Add files:

pack push archive.pack --script.py=myscript --config.json=cfg

Extract a file:

pack get archive.pack myscript out.py

Show the structure:

pack struct archive.pack

Show file contents:

pack show archive.pack myscript

Working with directories

Pack a directory:

pack files zip archive.pack ./myproject

All files from ./myproject are added to the archive with relative paths as container names.

Unpack a directory:

pack files unzip archive.pack ./output

Extracts all files from the archive into ./output, preserving the folder structure.

Flags

  • --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.

Format

PACK@0
  -> name (once)
  -> metadata
  -> containers: name -> data

License

Apache 2.0


By Pt, 2026, using Lc and Tap.

About

File archiver

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages