This is the mail archive of the
mailing list for the Cygwin project.
mv deletes file
- To: gnu-win32 at cygnus dot com
- Subject: mv deletes file
- From: Doug Kushner <dougk at primenet dot com>
- Date: Sat, 15 Aug 1998 14:19:51 -0700 (MST)
I'm using bash 2.01 with cyg 19.1. I know that filenames are supposed to
be case insensitive, but some tools such as diff do not ignore filename
So, I was trying to rename some uppercase files to lowercase (which can be
done in a DOS box) and discovered the following problem. When trying to
use mv on the same filename, but different case, it just deletes the
original file. I would prefer it rename the file, but at the very least
it should just generate the error message and leave the original file
$mv FILE file
mv: cannot move `FILE' to `file': No such file or directory.
`FILE' has been deleted and 'file' does not exist.
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".