delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/20/14:41:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=OUD
rSARrefUWVceV5rPzD3Fr8GttwNS1+o1Ix5nBfL2zLFsxMrdK0v6CJlDCORP5lXQ
9a/THcgt7xslf4ZbszSxZAPPxYJOmfqJ0j4dX0xdv7eHtv9AgdAmB6P/MX0dXj5l
G++eIHd7VVJ+Z6Tb0Qs4hO+X5BMrlLHTdT2COGkA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:content-type
:content-transfer-encoding:mime-version; s=default; bh=fY72i4elt
63A5jR0xWwsZrqGu6M=; b=nq17VM80+g3z/N0lcIEsrCeZQp2/38zuJL2BWsk2n
8lDjKRQgp0NSOJub9Fj9w/8fMGd8+BgANfJDre0lEck/1UVMUNm2N9l9bNPzU0ek
yCpojxh008oyOva5OQFtfUjaqZQAXuQnIIvV8nS+XPKGD4Gb8Dv3zbCIZn3Q5FBH
E0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: COL004-OMC1S6.hotmail.com
X-TMN: [naFxjZ4UIN7IDLZK9w4ie+5URN4j0aFk]
Message-ID: <COL130-W80F61D41DBC766A5C40206C2E00@phx.gbl>
From: Murthy Gandikota <murthy64 AT hotmail DOT com>
To: "cygwin AT sourceware DOT org" <cygwin AT sourceware DOT org>
Subject: tar zxvf won't work with Redhat generated compressed tar file
Date: Mon, 20 Apr 2015 18:40:58 +0000
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t3KIfFXs021838

Hi All

I am using Cygwin64. I am getting a file from RedHat in tar + zip format. Currently I am able to unzip it and untar it in 2 steps as follows:

$gunzip mytar.gz
$tar xvf mytar

However, I would like to do the following:

$tar -zxvf mytar.gz

The error message I see is:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors


Can someone please  tell me what is the right way?

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


- Raw text -


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