Mail Archives: cygwin/2002/05/03/11:54:11
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 <DIR> 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 <DIR> 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/
- Raw text -