This is the mail archive of the
mailing list for the Cygwin project.
Re: [email@example.com: Re: How to rename file case-sensitive?]
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com, arnstein at panix dot com
- Date: Mon, 27 Aug 2007 06:27:33 -0600
- Subject: Re: [firstname.lastname@example.org: Re: How to rename file case-sensitive?]
- References: <20070827053131.GA28054@panix.com>
-----BEGIN PGP SIGNED MESSAGE-----
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*
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 email@example.com
-----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
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html