This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: .tar.gz


In article <009B7FFD.653E8040.20198@ifk20.mach.uni-karlsruhe.de>,
 <dahms@ifk20.mach.uni-karlsruhe.de> wrote:
>Hi Fergus, you wrote:
>
>:>>     gunzip file.tar.gz
>:>>     tar xf - file.tar
>
>:>I don't think so.  But using the 'z' option to gnutar works as it
>:>always has:
>: 
>:Yes, but the 'z' option to tar is not portable, so I can't use that. :-(
>
>But g*zip is not portable, either, only *compress is "standard" on unix.
>You can just as well install gtar, under that name, too (or link on Linux).

Good point!

Also, for the uninitiated, the above example is wrong anyway.  It really
should be:

	gunzip file.tar.gz
	tar xf file.tar

But, really, just use "tar xzf file.tar.gz".

:-)
THIS ASSUMES THAT YOU HAVE GNUTAR AVAILABLE! DO NOT USE THIS COMMAND
WITH ANYTHING BUT GNU TAR OR YOU WILL GET AN ERROR MESSAGE THAT YOU MAY
NOT BE ABLE TO DEAL WITH.  POSSIBLE EMOTIONAL DAMAGE MAY RESULT.
:-)
-- 
http://www.bbc.com/	cgf@bbc.com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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