delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/13/10:38:30

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: How to rename file case-sensitive?
Date: Mon, 13 Aug 2007 16:38:07 +0200
Message-ID: <387E9FC1619C0849BA8934938037E54F0F5CAF@sv-muc-004.venyon-mail.local>
From: "Ronald Fischer" <ronald DOT fischer AT venyon DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l7DEcJA8022852

Is there an easy way to rename a file foo to Foo?

mv foo Foo 

complains that they are the same file. From the FAQ
I learned that this is due to the limitations of 
Windows which does not distinguish between case
in file names. The FAQ also says that there is a
"highly experimental" case-sensitive file system
available. 

Not being prepared yet to live in a highly
experimental way, I'm curious whether there
is a simpler solution to the rename problem
aside from the obvious hack

  mv foo bar; mv bar Foo

-- 
Ronald Fischer <ronald DOT fischer AT venyon DOT com>
Phone: +49-89-452133-162

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019