Problem with Archiving .tar

Mark Nichols ubuntu.prole at gmail.com
Tue Oct 30 23:16:43 UTC 2007


On 10/30/07, Derek Broughton <news at pointerstop.ca> wrote:
>
> Chris Lemire wrote:
>
> > tar doesn't use compression. It just creates archives. If you want
> > compression, you should use bzip2 or gzip in combination with tar.
>
> Why deliberately try to confuse users?  Of course tar uses compression.
>
> $ tar --help | egrep "\-[zj]"
>       --no-ignore-command-error   treat non-zero exit codes of children as
>   -i, --ignore-zeros         ignore zeroed blocks in archive (means EOF)
>   -j, --bzip2                filter the archive through bzip2
>   -z, --gzip, --gunzip, --ungzip   filter the archive through gzip
>
> Oh - looks like tar uses compression...


Actually it looks like tar has the ability to filter its output  _through_
bzip2 or gzip.  Tar in an off itself doesn't do compression.

mark
--

I don't believe I understand all I know about this.
Release 7.10 (gutsy), Kernel Linux 2.6.22-14-generic, GNOME 2.20.0
Memory 2.2 GB, Processor 0 & 1: Intel(R) Pentium(R) 4 CPU 3.4 GHz, Graphics:
ATI Radeon X300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071030/d9855a90/attachment.html>


More information about the ubuntu-users mailing list