Re: Pipe to tar or other compressor
Jethro Carr <[email protected]> Mon, 17 Oct 2011 15:09:52 +1300
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2011-10-17 at 14:38 +1300, Cliff Pratt wrote: > Does tar compress? tar with -z does, but I thought that it just used > gzip with the -z option. Correct, tar itself has no compression, tar is more like a container for holding files. You can create compressed tar files with various command line options to invoke external compressors like gzip (-z) or bzip2 (-j). You can also do the same by piping the output from tar into the appropriate compression program, but the command options just makes things a little easier. :-) regards, jethro -- Jethro Carr www.jethrocarr.com www.amberdms.com _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk6bjnAACgkQDpNWragKym/0eACgg5wRcFrb8qeRh25agfS9zhp9 6FYAn0QPi2k6LMBvPvBQ3P9UwhUA7JBq =4lrx -----END PGP SIGNATURE-----