Ravi Sir's Cards › AWS
xz vs gzip
This comparison card contrasts xz and gzip. xz is described as smallest files. gzip is described as faster. The card pairs xz with long-term archive, and gzip with daily log rotation.
Read card text
What this card says
Compress
xz
Smallest files.
gzip
Faster.
Key points
Slow, use -T0.
Read with zcat.
Example
xz -T0 -k big.log
Use when
Long-term archive.
Daily log rotation.