ZNEW(1)
โจ ZNEW(1) โจ
okay bestie, welcome to the znew page from the General Commands Manual ๐ no cap, this one's short and sweet and honestly kinda iconic.
๐ NAME ๐
znew โ the little tool that recompresses your .Z files into .gz files ๐ฆ
๐ธ SYNOPSIS ๐ธ
znew [ -ftv9PK] [ name.Z ... ]
๐ DESCRIPTION ๐
So basically, znew takes files and recompresses them from .Z (that's compress format, the old-school one) into .gz (that's gzip format, the glow-up โจ).
And here's the little hack that lives in the description, fr fr: if you wanna recompress a file that's already in gzip format? You rename the file so it gets a .Z extension, and then you run znew on it. That's it. That's the trick. ๐ซถ
๐ฅ OPTIONS ๐ฅ
-fโ Force the recompression from.Zto.gzformat, even if a.gzfile already exists. like, she's going through with it no matter what ๐-tโ Tests the new files before deleting the originals. safety first, always ๐-vโ Verbose mode. Displays the name and the percentage reduction for every file that gets compressed. not me needing the receipts ๐-9โ Uses the slowest compression method (which is also the optimal compression). slow and perfect, main character energy ๐โจ-Kโ Keeps a.Zfile around when it turns out to be smaller than the.gzfile. and yes, this implies-t๐
๐ SEE ALSO ๐
gzip(1), zmore(1), zdiff(1), zgrep(1), zforce(1), gzexe(1), compress(1)
okay that's the whole page bestie, you ate that ๐ go compress something and slay ๐
signing off from the znew(1) page of the General Commands Manual โ no version or date on this one, she's timeless, iykyk ๐งโโ๏ธโญ
๐ฆ where this page comes from
- arch rolling: gzip 1.15-1 ยท GPL-3.0-or-later
- nixpkgs unstable: gzip 1.15
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms