list
zpack list <archive.zpak>Prints one line per entry, in sorted path order:
$ zpack list game.zpakaudio/void_mp_emh_1.wav 35.2 MiB deflate 32.4 MiBtextures/asphalt_old_pt_1.png 153.2 KiB store 153.2 KiBtextures/ui/label.txt 6 B store 6 B| Column | Is |
|---|---|
| 1 | Path, relative to the archive root, /-separated |
| 2 | Original size |
| 3 | store or deflate |
| 4 | Bytes this entry occupies in the archive |
Sizes are human-readable binary units - B, KiB, MiB, GiB - to one
decimal place. For exact byte counts, use manifest, which
emits raw integers.
Only the index is read, so list on a 70 MiB archive costs the same as on a
70 KiB one. Contents are never touched, which also means list succeeds on an
archive whose data region is corrupt. Use verify to check
that.
Failures
Section titled “Failures”The archive is opened and its index fully validated first, so list surfaces
any structural problem:
$ zpack list nope.zpakzpack: cannot open archive 'nope.zpak': FileNotFound
$ zpack list notes.txtzpack: cannot open archive 'notes.txt': BadMagicSee validation for everything open rejects.