GZ
GZ archive formatUsed for bundling a folder tree into one shareable file.
- Family
- Archives
- MIME
- application/gzip
Convert GZ to TGZ online. See the real archive extraction and repackaging behavior, preservation limits, and a format-specific acceptance test.
The entries in GZ are unpacked and a new TGZ package is built from their filenames and folder paths. Compression is rebuilt; archive-level encryption, comments, and recovery records are not portable assumptions. Gzip decoding produces one byte stream and an optional original filename; it does not by itself reveal a directory tree unless that payload is another archive such as TAR. TGZ is the short spelling for a Gzip-wrapped TAR package; validation must decompress the outer stream and then inspect the complete inner member tree.
Read as a Gzip-compressed byte stream that normally wraps one file rather than a folder tree. Rebuilt as a TAR folder stream compressed as one Gzip payload.
Used for bundling a folder tree into one shareable file.
Designed for packaging files and folder structures.
Decompress the result and confirm the recovered payload has the expected filename and checksum.
Decompress and extract both layers, then compare paths, Unicode names, file counts, permissions, links, and checksums.
Turning a multi-file archive into GZ alone can lose the expected directory packaging unless TAR is also used.
Gzip protects the TAR byte stream but does not independently validate each member, and non-Unix tools may alter permissions or links.
The writer builds a TAR folder stream compressed as one Gzip payload and labels the result as application/x-gtar. The receiving application - Not the extension alone - Is the final compatibility test.
TGZ is the right move once the recipient's archive tool cannot reliably open GZ; judge success by the extracted folder tree, not by the new package's file size.