Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: How to make `mv the hard way' fail Date: Mon, 13 Dec 2004 11:20:51 -0800 Lines: 17 Message-ID: References: <002901c4e0cc$63809d60$5709a443 AT c40624a> <019e01c4e0d5$6543e220$210110ac AT NEEEEEEE> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20041213004448 DOT 04e02d30 AT pop DOT prospeed DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: adsl-68-120-146-125.dsl.snfc21.pacbell.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041201 Thunderbird/1.0RC1 Mnenhy/0.6.0.104 In-Reply-To: <6.2.0.14.0.20041213004448.04e02d30@pop.prospeed.net> X-IsSubscribed: yes Larry Hall wrote: > At 12:34 AM 12/13/2004, Ben Wing wrote: >>Maybe someone could add an option to `mv' to make it fail rather than >>copy/rm? E.g. --no-copy. > > I expect this is a situation Indeed. I, too, have felt the need for this, and feel the same way as Ben. Let me see if I can take my first foray into the Cygwin patch submittal wilderness :-). By the way, what do folks think of tying this to the "-i" functionality? Currently, "-i" is defined as "prompt before overwriting" (i.e. if the target is *not* present, it still does things silently, else it prompts). Sounds like a fine candidate for "prompt before copying" as well, as in "prompt before overwriting or moving-directories-by-copying".. -- 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/