This is the mail archive of the
mailing list for the Cygwin project.
Re: How to make `mv the hard way' fail
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: "Ben Wing" <ben at 666 dot com>, <cygwin at cygwin dot com>
- Date: Sun, 12 Dec 2004 19:45:52 -0500
- Subject: Re: How to make `mv the hard way' fail
- References: <010201c4e0ac$62abcec0$210110ac@NEEEEEEE>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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
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