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=CfUWojXpQjsmbAcOzdssVqJSOXRKTczNDPX2hNonO6b OMvosrYhu2sbg0Hyde0+I8HRGHo0MAyagAcs0HoOszvGGnibUSA2C9z+TTTU3m7v 396keZWMTt4KOB+6ScA7UxcY/ik3inP/awrTtJgyEexbBLFkXzrep/8cBGz1mlyU = 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=IWKrUuGfDgGj+NeEluCqpRkV/9E=; b=KU4loA7ZhaKtGceuD IYB3NCHG6eFrlAJmCuC5j1oux5xS8NqkS5xWKDjrQaAZWX6a66say9qiHRCv2fdR xGhrMMul52NbQPjlvQoi0XHCxyRnM7ze282kXyI60InCStuBQmKW8HDh1A6ihRZU AukRyzQNOxulFKbX9J7OciBsgU= 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.9 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-OMC1S14.hotmail.com X-TMN: [PhUMQNd4QdzT/nv62/AB+ktN9t9oRoCe] 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 21:08:21 +0000 In-Reply-To: <509379965.20150420235036@yandex.ru> References: ,<969800560 DOT 20150420222609 AT yandex DOT ru> ,<509379965 DOT 20150420235036 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 t3KL8ZhS019625 ---------------------------------------- > Date: Mon, 20 Apr 2015 23:50:36 +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! > > Please don't top-post. Thank you. > And please no cleartext emails in quoted text. > >>>> 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. > > >> 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 > > Then what makes you think it is actually a tar archive? > What > > gunzip> mytar < mytar.gz; file mytar > > says? > > > -- > With best regards, > Andrey Repin > Monday, April 20, 2015 23:47:50 > > 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 Sorry, didn't notice the top-posting.... here is the  output to the command mytar: gzip compressed data, last modified: Tue Mar 24 03:50:58 2015, from Unix 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