Ken Moffat wrote:
> On Tue, Dec 07, 2010 at 05:13:19PM -0600, robert wrote:
>> Ken Moffat wrote:
>>>  Apart from the other responses, I can't help commenting that 'J' is
>>> not 'j'.  I assume you wrote it as a capital for more emphasis, but
>>> with the last two or three releases of tar 'J' is used for xz
>>> compression (if you have xz-utils).
>>>
>>> ĸen
>> yep, just emphasis.  so "tar Jf" would de-archive bz2 and gz?
>>
>> That's convenient.
>>
>  No, no, and thrice no!
> 
>  With recent tar, 'tar -xf' and 'tar -xvf' will determine the format
> of the archive, and when necessary it will use your installed bzip2,
> gzip, or xz-utils to extract it.
> 
>  But these recent versions use 'J' to enforce the use of xz
> compression or decompression - you would normally specify this when
> *creating* the archive.  If the format of an existing archive doesn't
> match a compression option you have *specified* ('j', 'z', or 'J')
> then tar will fail to extract it.
> 
> ĸen

Understood, understood, thrice understood.  Thanks.

robert
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to