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 beginningw/ the letter 'R' in NT 4.0


Based on the error that you are getting, I would assume that you are
trying to run your command from a bash prompt.

In a bash prompt, the backslash character "\" has a special meaning.  It
is the prefix for an escape code.  I don't remember many (any?) of the
escape codes, but I suspect that "\r" means carriage return.

In short, replace your backslash characters "\" with slash characters
"/" and things might work better.  You might also have to do something
like:

tar -cvfz file.tgz //cygdrive/c/adv/roy

I forget the exact notation for referencing files in directories on the
C drive that are not explicitly mounted, since I just install my cygwin
in the root directory.

Good luck!

--wpd


"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.
> 
> -J
> 
> ------------------------------------------------------------------------------
> 
> Please do not use e-mail to transmit orders for securities or for other time-sensitive messages.  All e-mail messages sent or received by the Fleet Securities corporate e-mail system are subject to review, retrieval and archiving and may be disclosed to parties other than the intended recipient.  Although information which may be contained in this message has been obtained from sources which we believe to be reliable, we do not guarantee that it is accurate or complete and any such information may be subject to change at any time.  Fleet Securities and/or its affiliates may, from time to time in the normal conduct of business, act as a market maker or specialist or principal for their own accounts or as agent for another party in connection with the purchase or sale of a security which may be mentioned in this e-mail.  Products and services available through Fleet Securities are: not FDIC insured; not guaranteed by any bank; and are subject to investment risk including the p!
>  os!
> sible loss of the principal amount invested.  © 2000 Fleet Securities, Inc., Member NYSE/NASD/SIPC.
> 
> ==============================================================================
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

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