delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Info: | This message was accepted for relay by |
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication | |
X-Trace: | UmFuZG9tSVYduQ/pPT1EwJzpMIIsxDH0j4BNEBtT3glplJ69rHRwK9ufVtomI2m4 |
Message-ID: | <3EC5021B.7070908@rfk.com> |
Date: | Fri, 16 May 2003 11:22:03 -0400 |
From: | "Larry Hall (RFK Partners, Inc.)" <lhall AT rfk DOT com> |
Reply-To: | lhall AT rfk DOT com |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | "Hannu E K Nevalainen (garbage mail)" <garbage_collector AT telia DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Renaming YELLER'S directories to something less aloud (Was: |
case sensitivity and filenames) | |
References: | <NGBBLLIAMFLGJEOAJCCECELPCPAA DOT garbage_collector AT telia DOT com> |
In-Reply-To: | <NGBBLLIAMFLGJEOAJCCECELPCPAA.garbage_collector@telia.com> |
Hannu E K Nevalainen (garbage mail) wrote: >>From: Larry Hall (RFK Partners, Inc.) [mailto:lhall AT rfk DOT com] > > >>>set CYGWIN="tty notitle glob check_case:strict" > > ... > >>>$ echo $CYGWIN >>>tty notitle glob >>> >>>Ehhh? Where did the remainder go? Should it be like that? >>>(Tried with and without double quotes, rebooting inbetween >>> to make sure that cygwin.dll was REALLY flushed) >> >>Works fine for me. Maybe you reset CYGWIN in an rc file? >> > > > $ cd ; pwd ; whoami ; ls -A; grep -i CYGWIN * > /home/Hannu > Hannu > .Xauthority .bash_history .mc/ .rm_bc_paths .vimrc bx/ rexx/ > .Xdefaults .bash_logout .ncftp/ .ssh/ Projects/ md5/ > scripts/ > .adtrc .inputrc .profile .viminfo bin/ pfree@ sed/ > > --8<-- Maybe check /etc too? >>>It is late - am I tired or just outta luck? >> >> >>Too tired it seems. Remember, you're using a case-insensitive OS. >>'AAA' and 'aaa' are the same. > > > =-) I'm aware of that, renaming files with just case differences works fine > "outside of" cygwin. I'm an Amiga "oldtimer" (1985++) where the situation is > the same. Actually, I should've checked some of these details before posting. Cygwin mv renames a *file* just fine when the name only differs by case. Directories are still an issue. AFAICS, this is the same as in DOS using 'move'. It works fine in DOS if you use 'rename' but that's different command with different semantics. > >> If you want to change by case only, >>you'll need to move the directory (or file) to a different name and >>then move it to the desired, target name. > > > Well, that currently seems to be the only option... IMO the first simple > mv FILE File > should be have worked. Actually, the above does work in Cygwin if 'FILE' is a file. > May I guess that this is related to the problems with stat() ? I doubt it. If there's a place to make a change for the benefit of 'mv', that would be in the 'mv' source. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |