This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
mv does not overwrite destination file
- To: cygwin <cygwin@sourceware.cygnus.com>
- Subject: mv does not overwrite destination file
- From: Tim Davidson <timd@werple.net.au>
- Date: Mon, 12 Jul 1999 12:17:49 +1000
Normally, when I try to move a file 'src' to existing file 'dest', the
move works as it should:
$ ls
tmp.tmp tmp1.tmp
$ /bin/mv tmp.tmp tmp1.tmp
$ ls
tmp1.tmp
However, when I try to move a file 'src' to existing file 'dest' and the
two files are on different drives, the move fails:
$ /bin/mv //c/tmp.tmp //d/tmp1.tmp
/bin/mv: cannot move `//c/tmp.tmp' to `//d/tmp1.tmp': File exists
Same occurs when -f flag is used.
Any ideas why this happens?
--
Tim Davidson
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com