Ravi Sir's Cards › AWS
gzip vs tar
This comparison card contrasts gzip and tar. gzip is described as compresses one file. tar is described as bundles many files. The card pairs gzip with old logs, and tar with backups of folders.
Read card text
What this card says
Archive
gzip
Compresses one file.
tar
Bundles many files.
Key points
Replaces file with .gz.
Keeps originals, makes one archive.
Example
gzip -k app.log
Use when
Old logs.
Backups of folders.