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]

Re: How to rename file case-sensitive?


Jeff Hawk wrote:

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
Behalf Of Andrew DeFaria
Sent: Tuesday, August 14, 2007 10:03 AM
To: cygwin@cygwin.com
Subject: Re: How to rename file case-sensitive?

Fergus wrote:
rename foo Foo
Wish it was so easy. The syntax is
    rename from to filelist
so here you need
    rename foo Foo foo
Fergus
How about:

$ mv foo bar && mv bar foo



Looks like a NOOP to me

Well, it does have the side-effect of deleting any bar that might be lying around.

regards
 Steve
--
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------


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