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


> -----Original Message-----
> From: VanRossem, James
> [mailto:James.VanRossem@exchange.fleetsecurities.com]
> Sent: Tuesday, February 06, 2001 6:34 PM
> To: cygwin@cygwin.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@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

--
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]