mv does not overwrite destination file

Tim Davidson timd@werple.net.au
Sun Jul 11 19:16:00 GMT 1999


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



More information about the Cygwin mailing list