LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   When to use tar , gzip and tar+gzip ? (https://www.linuxquestions.org/questions/linux-newbie-8/when-to-use-tar-gzip-and-tar-gzip-430225/)

tofee 03-31-2006 02:26 AM

When to use tar , gzip and tar+gzip ?
 
hi,

When should anyone use 1)only .tar ,
2)only gzip and
3)tar and gzip together ?

pls make it clear to me.

thanx in advance.

vmlinuz.gz 03-31-2006 02:29 AM

Hello,

Could you clarify your question please? Do you mean when to compress or extract?

titopoquito 03-31-2006 02:43 AM

A simple answer would be to use

-- gzip: when it's a single file that should be compressed
-- tar : when you want to archive a bunch of files but need no compression or fast execution
-- tar.gz: archive bunch of files with intermediate compression (will take longer)
-- tar.bz2: archive bunch of files with good compression (takes even longer)

tofee 03-31-2006 06:59 AM

hi titopoquito ,

thanx a lot for making it clear to me.

tofee 03-31-2006 06:59 AM

hi vmlinuz.gz ,

yes now it's clear.


All times are GMT -5. The time now is 12:38 PM.