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 Message-Id: <4.3.1.2.20020503114437.016e65d0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Fri, 03 May 2002 11:51:41 -0400 To: Jason Tishler , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: mv problem In-Reply-To: <20020503130527.GA3216@tishler.net> References: <4 DOT 3 DOT 1 DOT 2 DOT 20020502104654 DOT 0246ccb8 AT pop DOT ma DOT ultranet DOT com> <20020502132242 DOT 10650 DOT qmail AT web10105 DOT mail DOT yahoo DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20020502104654 DOT 0246ccb8 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:05 AM 5/3/2002, Jason Tishler wrote: >Larry, > >On Thu, May 02, 2002 at 10:51:45AM -0400, Larry Hall (RFK Partners, Inc) wrote: > > As you can see, you cannot rename file differing only by case. This is a > > Windowsism. Sorry. Complain to Bill if you don't like it! ;-) You'll > > need to do this as a two step process (i.e. move 'abc' to a different name > > temporarily and then move it to 'Abc'). > >The above is not true: > > C:\>dir > [snip] > 05/03/2002 08:48a bar > 05/03/2002 08:47a 0 foo > ... > > C:\>ren bar BAR > ren bar BAR > > C:\>ren foo FOO > ren foo FOO > > C:\>dir > [snip] > 05/03/2002 08:48a BAR > 05/03/2002 08:47a 0 FOO Well, if you mean that the issue is not, strictly speaking, a Windows issue, there's some validity to that statement. Given all the history of "mv" functionality, I personally hesitate to suggest that there's a patch to "mv" that will make this possible without breaking something else that's important for "mv" in Cygwin/Windows (though I don't discourage others from trying if they are so inclined). It is Windows, in general, that enforces case-insensitivity of it's file systems though, which doesn't help. Of course, you've also pointed out that there is an alternative to "mv" in "DOS-land" that allows this operation to be done in one step, for those that prefer such a thing! ;-) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/