FG
💻 Software

Tar and gzip together, but the other way round?

Fresh5 days ago
Mar 15, 20261224 views
Confidence Score0%
0%

Problem

Gzipping a tar file as whole is drop dead easy and even implemented as option inside . So far, so good. However, from an archiver's point of view, it would be better to tar the gzipped single files. (The rationale behind it is, that data loss is minified, if there is a single corrupt gzipped file, …

Error Output

find folder -exec gzip '{}' \;
tar cf folder.tar folder

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Tar and gzip together, but the other way round?

Low Risk

The key disadvantage is reduce compression, especially if your archive will contain many small files. You might be better off compressing the data the usual way (or if you have CPU cycles to spare, the slower but more space efficient 7zip) then wrap…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment