This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Problem w/ cygwin tar.exe: Unable to tar directories beginning w/ the letter 'R' in NT 4.0
- To: "VanRossem, James" <James dot VanRossem at exchange dot fleetsecurities dot com>,cygwin at cygwin dot com
- Subject: Re: Problem w/ cygwin tar.exe: Unable to tar directories beginning w/ the letter 'R' in NT 4.0
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Tue, 06 Feb 2001 12:39:30 -0500
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@rfk.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