Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <17B78BDF120BD411B70100500422FC6309E1EF@IIS000> From: Bernard Dautrevaux To: "'VanRossem, James'" , cygwin@cygwin.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) Content-Type: text/plain; charset="iso-8859-1" > -----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