tgz
What is a .tgz file?
application/gzip
TGZ is a shorthand extension for a TAR archive compressed with gzip, equivalent to .tar.gz. The tar step bundles files and metadata, then gzip compresses the whole stream. It is one of the most common distribution formats for Unix software and datasets.
How to use a .tgz file
Use an example TGZ to test the two-stage decompress-then-untar pipeline, streaming extraction, and tools that recognize the abbreviated .tgz extension.
Download example .tgz files
- TAR.GZ - Gzip TarballA gzip-compressed tar of a small source tree — for testing tar extraction and the TGZ container. Member timestamps are fixed for reproducibility.
- TGZ — Nested Companion SAMPLEGzipped tarball SAMPLE companion for nested-archive conversion sets.
- TGZ Containing a TGZA gzipped tar whose second member is another gzipped tar. Tools that apply decompression greedily - gunzip until the bytes stop being gzip - skip straight past the outer tar and report the inner archive's two members as if they were the whole thing.
- TGZ - Empty ArchiveThe empty tar wrapped in gzip, which is what `tar czf` produces from an empty directory. The gzip header and trailer are still there and still have to parse, so this separates 'cannot read the codec' from 'read the codec and found nothing inside'.
- Convert v2 TGZ Existing-Format Alias ControlExisting-format TGZ control carrying the same two canonical members used by the new compound archive formats Stable P8 artifact p8-convert-tgz-alias.