Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 12:15:16 +0200
From:      Bart Lateur <bart.lateur@skynet.be>
To:        <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: file extensions
Message-ID:  <5bk5nssgubqu69et4ek34mpa4esfg53ndj@4ax.com>
In-Reply-To: <004d01bfef9f$543bb1a0$71aa1518@mesqt1.tx.home.com>
References:  <004d01bfef9f$543bb1a0$71aa1518@mesqt1.tx.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Jul 2000 22:30:18 -0500, MrBoboo wrote:

>what is the difference between files that end in: .tgz, .z, .tar, tar.gz ??????????????? (when uncompressing/unpacking them)

.z and .gz use a different compressing mechanism -- I'd think even a
different compression program. .z -> compress, .gz -> gzip. Nowadays
gzip is more common.

.tar is a from a program, tar, which only combines a directory tree into
one single file, without compression. That root of this program is to
store files, raw, on a backup tape -> "tar" = "Tape ARchive". .tar.gz is
a tar file compressed with gzip. And .tgz is actually the same as
.tar.gz.

n.b. You can compress/decompress archives while creating them, by using
the -z option. This will avoid saving the (large) raw .tar file, and
directly generate the .tar.gz file when creating an archive, and the
directory tree when extracting. Idem ditto for -Z, which uses the .z
compression, making or extraction a .tar.z file.

-- 
	Bart.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bk5nssgubqu69et4ek34mpa4esfg53ndj>