Re: Pipe to tar or other compressor

Martin D Kealey <[email protected]>
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <[email protected]>
On Mon, 17 Oct 2011, David L Neil wrote:
> =does this also mean that you have performed side-by-side comparison on a
> range of compression algorithms/pgms and settled on bzip2 for MySQLdump/ASCII
> files?
> (instead of (my-traditional) tar...)

Tar is *not* a compressor, it's an archiver with NO built-in compression.
Ditto cpio, ditto pax.

The GNU versions have some fancy extra features to invoke a (small)
selection of external compressors; "tar -z ..." is functionally identical to
"tar ... | gzip", and "tar -j ..." is to "tar ... | bzip2", except of course
that they automatically turn the pipelines around for extraction.

-Martin

-- The early bird may get the worm, but it's the second mouse that gets the cheese.

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.