This is the mail archive of the cygwin@sources.redhat.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: Problem w/ cygwin tar.exe: Unable to tar directories beginning w/ the letter 'R' in NT 4.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@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


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