A TAR file in your sense is indeed a TAR.GZ file, which embed two formats : TAR and GZ. Here's the process : 1. A TAR file is ceated, concatening several files together in their uncompressed form ; note that resulting TAR file is uncompressed, 2. A GZ file is created by compressing the previous TAR file. So to decompress a TAR.GZ file, you have to : 1. Decompress the compressed GZ file and 2. "Untar" (unarchive) the uncompressed resulting TAR file. Note that you can compress a TAR file with other popular compressors (bzip2 => TAR.BZ2, 7zip => TAR.7Z...).
P
PhM33
@PhM33
Posts
-
Why do TAR files always need to be decompressed twice? -
Why does most C/C++ developer prefers char *c instead of char* c?Not always : a void pointer lives its own live and you can made point it on every type or on... nothing ! :)
-
Why does most C/C++ developer prefers char *c instead of char* c?My 2 cents, I prefer
char* c;
too, as I've learned years ago. To quote Wikipedia and what I've learned (Pointers section) : "A pointer is a data type that contains the address of a storage location of a variable of a particular type." Nevertheless, this same Wikipedia section points out that writing it is a matter of style :
char* c;
char * c;
or
char *c;
All right for everyone :) Not mentioning the confusing writing for arrays of pointers... So the type of "char*" is a "pointer on a char". The type of "int*" is a "pointer on an int". And so on...
-
Acronis alternativeSuccessfully moved from Acronis to Easeus http://www.todo-backup.com/, years ago.