Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <3789504D.D87C9B6F@werple.net.au> Date: Mon, 12 Jul 1999 12:17:49 +1000 From: Tim Davidson X-Mailer: Mozilla 4.6 [en-gb] (Win95; I) X-Accept-Language: en-GB,en,en-* MIME-Version: 1.0 To: cygwin Subject: mv does not overwrite destination file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT sourceware DOT cygnus DOT com