[X-Unix] How to *quietly* unarchive a .bz2 file?
Stroller
stroller at stellar.eclipse.co.uk
Mon Oct 4 03:04:51 PDT 2010
Isn't `tar xjf` synonymous with the `tar -x -j -f ` you quote from the original post?
Since Jerry demonstrates the error quoted, and Chris & Richard confirm bunzip2 installed on default installs of 10.5 and 10.6 (I can confirm the latter myself) I can only assume that Jerry may be running an o/s version as old as 10.4.
Stroller.
On 4 Oct 2010, at 07:31, Robert Frank wrote:
> Well, Jerry, I'm astonished that all which responded missed the point:
>
> tar DOES handle bzip (according to the man page), but no automatically. You really just have to read the manpage and you will see that you have to use the -j flag.
>
> tar xjf /var/log/system.log.0.bz2 (note the j in the option list)
>
> ...
> On 03/10/2010, at 21:00 , Jerry Krinock wrote:
>> ...
>> I get the same problem if I use the -j option (which, according to 'man tar', is not necessary for extracting)
>>
>> JerryMacMini:~ jk$ tar -x -j -f /var/log/system.log.0.bz2
>> tar: This does not look like a tar archive
>> tar: Skipping to next header
>> tar: Archive contains obsolescent base-64 headers
>> tar: Error exit delayed from previous errors
More information about the X-Unix
mailing list