This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20: mv deletes files on error (NT)


At 11:57 AM 3/29/99 +0200, Corinna Vinschen wrote:
>Chris Faylor wrote:
>> 
>> I'm not 100% certain (and I can't check right now) but I think that
>> this should not be a problem in recent snapshots.  A net contributor
>> supplied a patch to make "inode" generation case-insensitive.  That
>> should make mv capable of detecting this problem and disallowing it.
>> 
>> -chris
>
>Yes. `mv foo Foo' only outputs the message 
>
>	mv: `foo' and `Foo' are the same file
>
>in the recent snapshots.
>
>Regards,
>Corinna
>
>


If that's true, how does one rename a file based on case sensitivity only?
On b19 (which as all I have at this location), mv can do this without 
complaint or problem...

TEST_lhall->touch foo
TEST_lhall->ls -l
total 0
-rw-r--r--   1 544      None            0 Mar 29 11:43 foo
TEST_lhall->mv foo Foo
TEST_lhall->ls -l
total 0
-rw-r--r--   1 544      None            0 Mar 29 11:43 Foo

Seems a shame if this functionality has been lost...


Larry Hall                             lhall@rfk.com
RFK Partners, Inc.                     (781) 239-1053
8 Grove Street                         (781) 239-1655
Wellesley, MA, 02482-7797              http://www.rfk.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com