X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Steve Holden Subject: Re: How to rename file case-sensitive? Date: Tue, 14 Aug 2007 21:52:01 -0400 Lines: 37 Message-ID: References: <46C13A16 DOT 6090801 AT bonhard DOT uklinux DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Jeff Hawk wrote: > >> -----Original Message----- >> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On >> Behalf Of Andrew DeFaria >> Sent: Tuesday, August 14, 2007 10:03 AM >> To: cygwin AT cygwin DOT 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/