Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <1f1e07530502142206300fc790@mail.gmail.com> Date: Tue, 15 Feb 2005 01:06:11 -0500 From: Jason Taylor Reply-To: Jason Taylor To: cygwin@cygwin.com Subject: Re: insensitive case problem in latest cygwin In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1f1e07530502141026214345d2@mail.gmail.com> Funny. I've routinely used cygwin to rename the files from my digital camera before uploading them just using a mv command. I'm on a NTFS file system under both Windows 2000 and Win XP and, before this latest version of cygwin the mv worked fine. (obviously the problem isn't limited to mv) Now I get: jasont@jasont-laptop ~ $ touch AAA jasont@jasont-laptop ~ $ mv AAA aaa mv: `AAA' and `aaa' are the same file jasont@jasont-laptop ~ $ uname -a CYGWIN_NT-5.1 jasont-laptop 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin ..... Since it sounds like it is uncommon to have filenames that are case sensitive under cygwin I'll just assume it won't work and script around it. Thanks, Jason On Mon, 14 Feb 2005 13:45:04 -0500 (EST), Igor Pechtchanski wrote: > On Mon, 14 Feb 2005, Jason Taylor wrote: > > > windows xp > > The current version of cygwin seems to ignore case in the filesystem. > > if you open a cygwin bash shell and type > > > > touch AAA > > mv AAA aaa > > > > it says that 'AAA' and 'aaa' are the same filename and doesn't change > > the filename. > > That's the behavior I've gotten for as long as I can remember, which > prompted me to write this useful script: > ------------------- BEGIN /usr/local/bin/mvv ------------------- > #!/bin/sh > /bin/mv "${1%%/}" "${1%%/}-$$" && mv "${1%%/}-$$" "${2%%/}" > -------------------- END /usr/local/bin/mvv -------------------- > > > When I run cygwin setup and go back to the 'prev' version the mv > > command changes the name of the file like it has in previous versions. > > Very strange. What version was the 'prev' version? > > > Sorry I can't get version numbers right now but it's Valentine's day. > > - jason > > Oh, and neither 'uname -a' nor 'cygcheck -svr' run on Valentine's day? > Why, that's just MEAN! :-) > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha@cs.nyu.edu > ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > "The Sun will pass between the Earth and the Moon tonight for a total > Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT > -- 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/