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 |
From: | "Mark Allan Young" <myoung AT intrinsic DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Two questions: Moving Directories, Ctrl-Z |
Date: | Sat, 17 Mar 2001 18:22:34 -0800 |
Message-ID: | <BMEKKMFHJODGNCJOKKBFCEAACJAA.myoung@intrinsic.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Importance: | Normal |
In-Reply-To: | <20010316222501.F3596@redhat.com> |
> On Fri, Mar 16, 2001 at 07:16:31PM -0800, Mark Allan Young wrote: > >> On Fri, Mar 16, 2001 at 04:44:31PM -0800, Mark Allan Young wrote: > >> >One thing I've noticed that changed with our recent upgrade > >> >to 1.1.8 was that moving a directory now seems to perform a copy > >> >and remove rather than just renaming a directory. Is there a way > >> >to just force the rename? what's the benefit of the copy over the > >> >rename? > >> > >> I just tried this. An "mv" in cygwin moves the directory without > >> copying. > >> > >> If it isn't doing this for you we'll need details. > > > >I tried this again and it started to do a copy... > > > >then I looked around my system and found another cygwin window > >opened to a directory within the directory that I was trying to > >move. > > Ok. The official answer to this problem is "Don't do that." Doesn't seem right to me. I'd rather it not take several minutes to copy a large directory... As I said in my previous message, if the command knows enough to realize that it must do a recursive copy/unlink, I'd rather it just say "Can't." or "Won't." or even "EFILEBUSY" :-). my $.02, for whatever it's worth... ...myoung -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |