[bug #20784] mv should be able to change filename case on case-insensiti
From:
anonymous
Subject:
[bug #20784] mv should be able to change filename case on case-insensitive file systems
Date:
Tue, 14 Aug 2007 16:29:45 +0000
User-agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
URL:
<http://savannah.gnu.org/bugs/?20784>
Summary: mv should be able to change filename case on
case-insensitive file systems
Project: GNU Core Utilities
Submitted by: None
Submitted on: Tuesday 08/14/2007 at 16:29 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On Cygwin using non-managed mounts (and presumably other operating systems
when using a case-insensitive file system), it's not possible to use Coreutils
mv to change the case of a filename; mv reports that they are the same file.
The underlying Cygwin rename() function does support this functionality.
Also see the thread on the Cygwin mailing list starting at
<http://cygwin.com/ml/cygwin/2007-08/msg00335.html>.
Example:
$ touch foo
$ mv foo Foo
mv: `foo' and `Foo' are the same file
$ mv --version
mv (GNU coreutils) 6.9
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker, David MacKenzie, and Jim Meyering.
$ uname -a
CYGWIN_NT-5.1 jonathan-lmi 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
$ perl -e 'rename "foo", "Foo" or die($!)'
$ ls [Ff]oo
Foo
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20784>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/