delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/06/13:03:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <17B78BDF120BD411B70100500422FC6309E1EF@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
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 beginnin
g w/ the letter 'R' in NT 4.0
Date: Tue, 6 Feb 2001 18:31:34 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019