Pass params w/tar czvf? (Re: [PLUG] Tarball installation)

Matt Alexander m at netpro.to
Thu Jul 18 17:48:23 UTC 2002


On Thu, 18 Jul 2002, Tyler F. Creelan wrote:

> you can also do something like this with GNU tar:
>
> tar xzvf xxx.tar.gz
>
> and it will uncompress the archive for you, using the appropriate utility
> (zip, compress, bzip, gzip). It *might* be slightly more efficient as
> well. Likewise, I think you can also do:

Minor correction...  if you have a file compressed with bzip, then you'll
need to use the j option, like this:

tar jxf xxx.tar.bz2

or, to create a bzip2 archive:

tar jcf xxx.tar.bz2 somedir





More information about the PLUG mailing list