Quote:
Originally Posted by jim mcnamara
.tar is not compressed at all, it is just an archive format.
|
Exactly. A tar file is like a "package" but not compressed at all.
A .tar.gz (or .tgz in some cases) is just a gzip compressed tar file.
Quote:
Originally Posted by jim mcnamara
Linux (GNU tar) has non-standard extensions added to tar that other implmentations of tar do not have.
|
In this case, that extension is the "z" flag. Have a look to gtar man pages.
Quote:
Originally Posted by jim mcnamara
If the extra typing is a problem write a short shell script to do it.
|
For instance, in one line:
gzip -c myfile.tar.gz | tar xvf -
or
tar cvf - whatever | gzip -c > myfile.tar.gz
Regards.