delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/06/12:47:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010206123513.01998180@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 06 Feb 2001 12:39:30 -0500
To: "VanRossem, James" <James DOT VanRossem AT exchange DOT fleetsecurities DOT com>,
cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Problem w/ cygwin tar.exe: Unable to tar directories
beginning w/ the letter 'R' in NT 4.0
In-Reply-To: <CF3AA8BEB185D41182510008C7E63D406C8675@ntmail02.bqr.quick-
reilly-group.com>
Mime-Version: 1.0

At 12:34 PM 2/6/2001, VanRossem, James wrote:
>Hi all,
>
>Basically when i run
>
>tar -cvfz file.tgz c:david\adv\roy
>I get an error 
>oy: No such file or directory
>
>Any ideas?  or work arounds?  (besides changing the directory name)
>Thanks all.
>I appreciate your time and help.

Yes, you need to be careful and check documentation.  First, I suspect that
you're invoking this from sh/bash.  If so, '\' is an escape character so you
need to quote it or double it to get it interpreted correctly.  Also, tar 
interprets "c" as a host, since it precedes ":" (see ter --help).  You can 
use /cygdrive/c/david/adv/roy instead to avoid this issue.


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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