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 13:09:32 -0800 Lines: 19 Message-ID: References: <20041213132339 DOT A37829 AT reliant DOT immure DOT com> 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: <20041213132339.A37829@reliant.immure.com> X-IsSubscribed: yes wayne willcox wrote: > If you really want that kind > of interaction it is a trival shell script that wraps the mv > command and can prompt the user for any number of things including > "are you sure",, "again are you sure you want to move this file" mv already *has* the -i option, and it does just what you describe. The reason I proposed tacking on this other prompt to the same option is that: (a) the option is called "--interactive" in full, and suggests that it controls *all* interactive behavior in "mv". (b) it seemed .. (oh, well, never mind...) I'll just create it as a long-only option for the moment (--(no-)copy-dir-if-busy) -- 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/