This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BZ2 file extraction


On Fri, 27 Feb 2004 LarrysPCRemedies@aol.com wrote:

> I have cygwin
> I have a file with a foo.tar.gz2 extension.
>
Odd, it must be a typo of either:
foo.tar.bz2 or
boo.tar.gz

> How to I extract the tarball contained within?
>
> I tried gzip -dv foo.tar.gz2, but I get
> [snip]
> gzip: foo.tar.bz2: unknown suffix -- ignored
> [/snip]
> as a response
>
You could try to rename it to foo.tar.gz so the suffix would not be
unrecognized.

> I tried tar -tvf foo.tar.gz2, but I get
> [snip]
> 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
> [/snip]
>
We'll assume it is compressed somehow, so that obviously wouldn't work.

> I also tried bunzip foo.tar.gz2, but bunzip is apparently not installed because I get
> [snip]
> 'bunzip' is not recognized as an internal or external command,
> operable program or batch file.
> [/snip]
>
> I looked in the cygwin setup section for archive, and bunzip or bzip isn't listed ... likewise in base and other sections.
>
It's bunzip2.

> Any assistance would be appreciated.
>
Try tar zxvf foo.tar.gz or
tar jxvf foo.tar.bz2.

> I am, scratching my head,
>
I would be some too :).

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]