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: tar zxvf won't work with Redhat generated compressed tar file


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@yandex.ru
> To: murthy64@hotmail.com; cygwin@cygwin.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


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