This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[yselkowitz@users.sourceforge.net: Re: How to rename file case-sensitive?]


----- Forwarded message from "Yaakov (Cygwin Ports)" 

Ronald Fischer wrote:
> Is there an easy way to rename a file foo to Foo?
> 
> mv foo Foo 

rename foo Foo

rename is provided by util-linux

This does not work for me. From my cygwin/bash prompt:

Strix 516> type rename
rename is hashed (/usr/bin/rename)
Strix 508> touch xxx
Strix 509> rename xxx Xxx
Strix 513> ls x*
xxx

At this point, I opened up a Windows Explorer pane to confirm that the
file is still named xxx, not Xxx.

My output from cygcheck -svr is attached.

Attachment: cygcheck.out
Description: Text document

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]