delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/30/10:41:45

From: cgf AT bbc DOT com (Chris Faylor)
Subject: Re: .tar.gz
30 Jul 1997 10:41:45 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <EE51vB.57L.cygnus.gnu-win32@bbc.com>
References: <009B7FFD DOT 653E8040 DOT 20198 AT ifk20 DOT mach DOT uni-karlsruhe DOT de>
Reply-To: cgf AT bbc DOT com
X-Newsreader: trn 4.0-test57 (27 Apr 97)
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: Perl5 Mail::Internet v1.28
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In article <009B7FFD DOT 653E8040 DOT 20198 AT ifk20 DOT mach DOT uni-karlsruhe DOT de>,
 <dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT 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 AT bbc DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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