delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/07/04:03:10

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Sat, 6 Feb 1999 23:10:55 -0500 (EST)
From: Tripp Lilley <tlilley AT perspex DOT com>
To: Eric Goforth <ericgoforth AT csi DOT com>
cc: cygnu-win32 <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: tar problems in cygwin
In-Reply-To: <3.0.3.32.19990206224514.007bb210@pop.site1.csi.com>
Message-ID: <Pine.LNX.3.96.990206230935.1454K-100000@mail.perspex.com>
MIME-Version: 1.0

On Sat, 6 Feb 1999, Eric Goforth wrote:

> Am I using tar incorrectly here or does tar under cygwin not work the same
> as in bash under Linux?
> 
> BASH.EXE-2.02$ tar -xvfz /windows/desktop/emacs*
> tar: Cannot open z: No such file or directory
> tar: Error is not recoverable: exiting now

Your argument order is incorrect. The '-f' option must be immediately
followed by a filename. It's taking the 'z' as the filename (which you
intended to be the 'gunzip' option). Try this instead:

tar -xvzf foo.tar.gz

--
   Tripp Lilley + Innovative Workflow Engineering, Inc. + (tripp AT iweinc DOT com)
------------------------------------------------------------------------------
  "So perl is like a graceful swan, gliding across a lake. But underneath the
   water, there's these little legs, paddling like buggery."

-- beable van polasm in http://www.dejanews.com/getdoc.xp?AN=440381254



--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


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