B20: mv deletes files on error (NT)

Earnie Boyd earnie_boyd@yahoo.com
Sun Mar 28 19:51:00 GMT 1999

--- David Dagon <david.dagon@mindspring.com> wrote:
> bash-2.02$ mv node.java Node.java
> mv: cannot move `node.java' to `Node.java': No such file or directory
> bash-2.02$ ls
> binarytree.java  splaytree.java   treetype.java
> Is this a bug?  If this behavior is my failure to set some variable, it
> seems to be a very dangerous trap to new users.

No, it's a feature.  Thanks to M$ the filenames are case insensitive.

As for the renaming of the files from Upper to lower to begin with, can you do
it again?  Does it happen all the time?  If so, supply the output of `cygpath -s
-v -r' (pasted in the mail) and a test case showing exactly the commands you
used to move the files.
-                        \\||//
--                earnie_boyd@yahoo.com               --

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list