Naming of Compressed Tar Files
"TGZ" redirects here. For other uses, see TGZ (disambiguation).tar archive files usually have the extension .tar, as in somefile.tar
. The pun, tarball, is used to refer to a tar file.
A tar archive file contains uncompressed byte streams of the files which it contains. To achieve archive compression, a variety of compression programs are available, such as gzip, bzip2, xz, lzip, lzma, or compress, which compress the entire tar archive. Typically, the compressed form of the archive receives a filename by appending the format-specific compressor suffix to the archive file name. For example, a tar archive archive.tar, is named archive.tar.gz, when it is compressed by gzip.
Popular tar programs like the BSD and GNU versions of tar support the command line options Z (compress), z (gzip), and j (bzip2) to automatically compress or decompress the archive file upon creation or unpacking. GNU tar from version 1.20 onwards also supports --lzma
(LZMA). 1.21 also supports lzop via --lzop
, 1.22 adds support for xz via --xz
or -J
, and 1.23 adds support for lzip via --lzip
.
MS-DOS's 8.3 filename limitations, resulted in additional conventions for naming compressed tar archives. (This practice has declined with FAT offering long filenames.)
Short | Long |
---|---|
.tgz |
.tar.gz |
.tbz , .tbz2 & .tb2 |
.tar.bz2 |
.taz |
.tar.Z |
.tlz |
.tar.lz |
.txz |
.tar.xz |
Read more about this topic: Tar (computing)
Famous quotes containing the words naming of, naming, compressed, tar and/or files:
“Husband,
who am I to reject the naming of foods
in a time of famine?”
—Anne Sexton (19281974)
“See, see where Christs blood streams in the firmament!
One drop would save my soulhalf a drop! ah, my Christ!
Ah, rend not my heart for naming of my Christ!
Yet will I call on him!O, spare me, Lucifer!
Where is it now? T is gone; and see where God
Stretcheth out his arm, and bends his ireful brows!
Mountains and hills, come, come and fall on me,
And hide me from the heavy wrath of God!”
—Christopher Marlowe (15641593)
“The human mind is so complex and things are so tangled up with each other that, to explain a blade of straw, one would have to take to pieces an entire universe.... A definition is a sack of flour compressed into a thimble.”
—Rémy De Gourmont (18581915)
“The master, the swabber, the boatswain and I,
The gunner and his mate,
Loved Mall, Meg, and Marian and Margery,
But none of us cared for Kate;
For she had a tongue with a tang,
Would cry to a sailor, Go hang!
She loved not the savour of tar nor of pitch,
Yet a tailor might scratch her whereer she did itch:
Then to sea, boys, and let her go hang.”
—William Shakespeare (15641616)
“But some who this blithe mood present,
As on in lightsome files they fare,
Shall die experienced ere three days be spent
Perish, enlightened by the vollied glare;
Or shame survive, and, like to adamant,
Thy after shock, Manassas, share.”
—Herman Melville (18191891)