bugGNU Core Utilities - Bugs: bug #20784, mv should be able to change...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20784: mv should be able to change filename case on case-insensitive file systems

Submitter:  None
Submitted:  Tue 14 Aug 2007 04:29:43 PM UTC
Votes:  2  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Tue 14 Aug 2007 04:29:43 PM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by stereotype (Voted in favor of this item)
  •  

    There are 2 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-11-29 stereotype Carbon-Copy- Added stereotype
    2007-08-25 barrett9h Carbon-Copy- Added barrett9h

    Back to the top


    Powered by Savane 3.9