Skip to main content
coreydaley.dev

One file, no container: gzip, xz, Zstandard, Brotli, and Encrypt File

Not everything needs an archive. If you want to shrink one log file, or encrypt one PDF, wrapping it in a ZIP first is an extra step and an extra layer to undo. Around June 8 and 9 Purrchiver learned to work on a single file directly.

Single-file compression

gzip, bzip2, xz, Zstandard, Brotli and the rest became formats you can pick in their own right, not just as the second half of .tar.gz. They only appear when it makes sense: choose one file and they’re offered; add a second file and they disappear, because a single-file format has nowhere to put two files.

Brotli moved to Google’s reference library at the same time, so its levels actually mean something: Purrchiver’s Normal setting is Brotli quality 9, and Best is the maximum, 11. .tar.br arrived alongside it.

Encrypt File, without compressing

The first version of Encrypt File had an awkward flaw. It compressed the file before encrypting it, so report.pdf became report.pdf.gz.age — and decrypting it gave you back a gzip file, not your PDF.

The fix was a format called None: encrypt the bytes exactly as they are. Now report.pdf becomes report.pdf.age, and decrypting it gives you report.pdf again. You can still choose to compress first if you want to.

Everywhere you’d look for it

The Archive menu became Tools, with Encrypt File… and Compress File… alongside Extract Archive… and Verify Archive…. The same actions are in Finder’s right-click menu, and Shortcuts gained the matching Decrypt File and Decompress File, plus Inspect Archive for listing an archive’s contents without extracting it.

The single-file help page covers every format.