This is the mail archive of the
mailing list for the Cygwin project.
mv does not overwrite destination file
- To: cygwin <email@example.com>
- Subject: mv does not overwrite destination file
- From: Tim Davidson <firstname.lastname@example.org>
- 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:
$ /bin/mv tmp.tmp 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?
Want to unsubscribe from this list?
Send a message to email@example.com