delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/12/19:50:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.0.14.0.20041212194339.047eda18@pop.prospeed.net>
Date: Sun, 12 Dec 2004 19:45:52 -0500
To: "Ben Wing" <ben AT 666 DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: How to make `mv the hard way' fail
In-Reply-To: <010201c4e0ac$62abcec0$210110ac@NEEEEEEE>
References: <010201c4e0ac$62abcec0$210110ac AT NEEEEEEE>
Mime-Version: 1.0

At 07:40 PM 12/12/2004, you wrote:
>Apologies if this is a FAQ.
>
>When I use `mv' on a directory and any file within it happens to be locked
>for some reason [e.g. I've opened it in Word], it will try to copy the
>entire directory and then delete the original.
>
>I consider this very dangerous behavior to be happening without my
>specifically requesting it, and I'd like to make this fail rather than doing
>this.  Is there any option in Cygwin to disable this?  Usually it is very
>easy to fix the problem, but I want to be told about it rather than having
>to ^C the mv and hope I caught it before it was in the middle of deleting
>the original.


No, not without altering the source that is. 


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019