Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <8C6D4989662C304087C58904BAB721A54B7393@Hermes.astrum.de> From: Harald Kierer To: "'linda w (cyg)'" , cygwin AT cygwin DOT com Subject: RE: strange mv behavior: mv Date: Wed, 12 Feb 2003 10:47:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Reproduced this: ---- [/t] $ mv lib lib mv: cannot copy a directory, `lib', into itself, `lib/lib' [/t] [1] $ mv lib Lib mv: cannot copy a directory, `lib', into itself, `Lib/lib' [/t] [1] $ mv --version mv (fileutils) 4.1 Written by Mike Parker, David MacKenzie, and Jim Meyering. Copyright (C) 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [/t] $ uname -a CYGWIN_NT-5.0 RE0263 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin ---- Actually it DOES copy the directory into itself! I get a directory 'lib' inside my old 'lib' with the exact same contents. Supposed behaviour should be to do nothing..? [snip] > On lnx, I get: > mv: cannot move `mydir' to a subdirectory of itself, `mydir/mydir' > > Shouldn't I get a similar error on Windows? I get those above. [snap] bye, harry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/