Problem w/ cygwin tar.exe: Unable to tar directories beginning w/ the letter 'R' in NT 4.0

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Tue Feb 6 09:43:00 GMT 2001


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



More information about the Cygwin mailing list