X-Spam-Check-By: sourceware.org
Message-ID: <46D2C335.6060705@byu.net>
Date: Mon, 27 Aug 2007 06:27:33 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com, arnstein@panix.com
Subject: Re: [yselkowitz@users.sourceforge.net: Re: How to rename file case-sensitive?]
References: <20070827053131.GA28054@panix.com>
In-Reply-To: <20070827053131.GA28054@panix.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Note-from-DJ: This may be spam

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to David Arnstein on 8/26/2007 11:31 PM:
> ----- Forwarded message from "Yaakov (Cygwin Ports)" 
> 
> Ronald Fischer wrote:
>> Is there an easy way to rename a file foo to Foo?
>>
>> mv foo Foo 

Upgrade to the experimental coreutils-5.9-5, and this should 'just work'.
 If I don't hear any more negative reports, then I will consider promoting
this to current this week.

> 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

That's because rename requires at least three arguments, not two:
old-pattern, new-pattern, files that should be changed.  As in:

rename xxx Xxx xxx

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG0sM184KuGfSFAYARAk+NAJsEtIEDiwNy0q1mjHFBUeMSs9NAdACggX4K
KDUKlcqCDmPpIBFhli7IDOI=
=sPNt
-----END PGP SIGNATURE-----

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

