Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3AB2BF4C.F1E4167C@airflash.com>
Date: Fri, 16 Mar 2001 17:35:08 -0800
From: "Alex Tang" <altitude@airflash.com>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: myoung@intrinsic.com
Subject: Re: Two questions: Moving Directories, Ctrl-Z
References: <NDEILJKIAMKIMKIDIGNCOEMBCKAA.myoung@intrinsic.com> <20010316202101.A2454@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Christopher Faylor 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've seen this problem (mv actually does a copy) when the target directory
is in use (file is open or you've got a shell working in some part of the
directory.)

Also, when this happens, a "rm -rf" will do some amount of work, then it
will just stop and not return.  I'm assuming it's waiting for a resource
to become free, but I haven't looked into it.

Sorry I don't have more info.

...alex...



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

