pigz
$ pigz Community Med Riskpigz (Parallel Implementation of GZip) utilizes multiple CPU cores (-p) to compress and decompress .gz files dramatically faster than gzip. Like gzip, pigz file deletes the source file by default unless -k (--keep) or -c (--stdout) is passed.
brew install pigz Multi-core streaming compression via pigz runs directly on local files with zero MCP applicability.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Strictly non-interactive CLI with clean exit codes and -l/-t read-only modes, though output is plain text with no --json.
- Deterministic non-interactive pipeline behavior
- No
--jsonoutput mode
Safe when -k or -c is used, but default behavior deletes the input file upon completion (gzip convention).
- Deletes source file by default unless
-k(--keep) or-cis passed
Packaged via brew install pigz, nearly all Linux repositories, and Windows ports.
- Available across macOS, Linux, and Windows
Multi-core gzip compression (tar -I pigz) delivers near-linear core scaling with full gzip compatibility.
- Drop-in parallel speedup for
.gzandtarpipelines
Written and maintained by zlib co-author Mark Adler under the Zlib license.
- Authoritative upstream maintenance at zlib.net/pigz
Complete pigz(1) man page and --help output covering -p, -k, -d, -l, -t, and -c.
- Clear official man page and
-hhelp
Security, Auth & Guardrails
None required; operates purely on local files or stdin/stdout.
100% free, offline, and open-source (Zlib).
# pigz Agent Rules - ALWAYS pass `-k` (`--keep`) or `-c` (`--stdout`)—bare `pigz <file>` DELETES the original file after compression/decompression. - Never pass `-f` unless overwriting an existing `.gz` output is explicitly intended.
Agent-Ready Command Recipes
Safe Read-Only Queries
pigz -l -t backup.tar.gz
Lists compressed/uncompressed sizes (-l) and tests integrity (-t) read-only without modifying backup.tar.gz.
Controlled Writes & Previews
pigz -p 8 -k -v bundle.tar
Creates bundle.tar.gz using 8 threads (-p 8) while preserving bundle.tar via -k (--keep).
Strengths for Agents
- + Multi-core
-pcompression scales smoothly for large tarballs (tar -I pigz). - + Supports
-llisting and-tintegrity verification read-only.
Caveats & Pitfalls
- ! Deletes original input files by default unless
-k(--keep) or-cis passed. - ! Plain-text
-loutput only; no--jsonflag.