delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3BA00AD7.D06F7377@acedsl.com> |
Date: | Wed, 12 Sep 2001 21:24:39 -0400 |
From: | "Matthew O. Persico" <persicom AT acedsl DOT com> |
X-Mailer: | Mozilla 4.76 [en] (Windows NT 5.0; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mv implemented as cp?!?!?!!? |
References: | <3BA0184C DOT 28676 DOT BF37B3C AT localhost> |
"Gerrit P. Haase" wrote: > > Matthew O. Persico schrieb am 2001-09-12, 18:52: > > >I have a /usr/X11R6 directory that I wanted to get out of the way. So I > >renamed it like this: > > > >cd /usr > >mv X11R6 X11R6.XFree.4.1.0 > > > >It is taking multiple minutes. Looking at it in Windows Explorer, I see > >both X11R6 and X11R6.XFree.4.1.0 in existance at the same time. > > > >Is mv implemented as cp and del?!?!. Why not just rename the file, a'la > >UNIX, or even Windows? Or am I really missing something? > > It works as you would expect, but only if there is no file opened in the > dir you want to rename. > You can try this. > Create a dir and fill it up. > Make sure that there is no file opened and you're not looking in any > subdirectory with explorer or another shell window. > Then rename it. Wow. Who knew? Obviously not me. I have to see how UNIX (solaris 2.6 in partcular) behaves when I get back to work tomorrow. -- Matthew O. Persico New York City - we're still here. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |