Mail Archives: cygwin/2001/02/06/13:03:36
> -----Original Message-----
> From: VanRossem, James
> [mailto:James DOT VanRossem AT exchange DOT fleetsecurities DOT com]
> Sent: Tuesday, February 06, 2001 6:34 PM
> To: cygwin AT cygwin DOT com
> Subject: Problem w/ cygwin tar.exe: Unable to tar directories
> beginning
> w/ the letter 'R' in NT 4.0
>
>
> 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.
>
I think you should try:
tar -cvfz file.tgz c:david\\adv\\roy
or simply
tar -cvfz file.tgz c:david/adv/roy
Don't forget that '\' is special for the shell, and that '\r' means
CARRIAGE-RETURN, which is white space...
BTW, using "c:david" is a bit dangerous on cygwin: either your current
directory is c:/some/thing and you meant c:/some/thing/david/adv/roy, then
just say "david/adv/roy", or say explicitely "c:/david/adv/roy"; cygwin has
no per-drive current directory, as it si an UNIX compatibility layer.
HTH,
Bernard
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: dautrevaux AT microprocess DOT com
b DOT dautrevaux AT usa DOT net
--------------------------------------------
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -