delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/27/13:12:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: thing1-200.fsi.com: ford owned process doing -bs
Date: Fri, 27 Feb 2004 12:11:35 -0600 (CST)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT thing1-200
Reply-To: cygwin AT cygwin DOT com
To: LarrysPCRemedies AT aol DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: BZ2 file extraction
In-Reply-To: <790F685B.6EFC9AA9.6B9180F2@aol.com>
Message-ID: <Pine.GSO.4.58.0402271208490.19531@thing1-200>
References: <790F685B DOT 6EFC9AA9 DOT 6B9180F2 AT aol DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

On Fri, 27 Feb 2004 LarrysPCRemedies AT aol DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019