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:in-reply-to :references:content-type:content-transfer-encoding:mime-version; q=dns; s=default; b=OPGAIR/yM6mor6Scb5xqfhmKMi6kR7XBZkZsVoGu7N9 p9ArBSucS/OWmWV6/brJ6z7hVzUfgLrWjHaeMiUz9TjKnozMrsn7snAOvQyVwhjS 145LPps71pst8EMFiet/t8tkkbn9pj76WooRANz+oMj0wXmrrgMhjxlYzgKfXp4Y = 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:in-reply-to :references:content-type:content-transfer-encoding:mime-version; s=default; bh=WMzrzpiDT4otyGuS1GZc/BNpv6k=; b=pUe4te2iubZd0FtDY NJTbAXBOQLIeu6twEoXF7dKX/SdS/XRwFVg0eABLa0r1AJL4szLF3qu9irIEZOS3 g1skPHSEvq/2eUoktoQ0gAj+p8+r5GGBvUYXy3xxE9Cp6HVDD4eYLVOblNC0eJCg E/YLX0XkE6UG7UktCTtgzUZZDY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=4.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,KAM_BODY_URIBL_PCCC,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: COL004-OMC1S9.hotmail.com X-TMN: [K9GaofBrdHgWsj1Q00XtyrRFxjvgKcx+] Message-ID: From: Murthy Gandikota To: "cygwin AT cygwin DOT com" Subject: RE: tar zxvf won't work with Redhat generated compressed tar file Date: Mon, 20 Apr 2015 19:37:41 +0000 In-Reply-To: <969800560.20150420222609@yandex.ru> References: ,<969800560 DOT 20150420222609 AT yandex DOT ru> Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t3KJbtjb000471 I see same error $ tar xvf mytar.gz tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors ---------------------------------------- > Date: Mon, 20 Apr 2015 22:26:09 +0300 > From: anrdaemon AT yandex DOT ru > To: murthy64 AT hotmail DOT com; cygwin AT cygwin DOT com > Subject: Re: tar zxvf won't work with Redhat generated compressed tar file > > Greetings, Murthy Gandikota! > >> 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? > > tar xvf mytar.gz > > I.e. drop filter spec. > tar is smart enough to detect and apply known filters automatically. > > > -- > With best regards, > Andrey Repin > Monday, April 20, 2015 22:23:58 > > Sorry for my terrible english... -- 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