Re: mv problem

2002-05-03 Thread Sylvain Petreolle

 Hm, I don't see that here:
 
 #mv abc Abc
 mv: cannot move `abc' to a subdirectory of itself,
 `Abc/abc'
 
 What version of Cygwin and mv are you using?  What
 does the directory 
 structure of abc look like?
 
 As you can see, you cannot rename file differing
 only by case.  This is a 
 Windowsism.  Sorry.  Complain to Bill if you don't
 like it! ;-)  You'll
 need to do this as a two step process (i.e. move
 'abc' to a different name
 temporarily and then move it to 'Abc').  I can't say
 why you got the result
 you did however.
 

Hi,
I'm using cygwin version 1.3.10 with all updated
packages.

mv --version reports : mv (fileutils) 4.1
(cygcheck reports exactly fileutils 4.1-1)
This is reproductible with every directory.

Steps I follow :
mkdir mydir
mv mydir MyDir (or Mydir, mydiR).



___
Do You Yahoo!? -- Une adresse yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: mv problem

2002-05-03 Thread Jason Tishler

Larry,

On Thu, May 02, 2002 at 10:51:45AM -0400, Larry Hall (RFK Partners, Inc) wrote:
 As you can see, you cannot rename file differing only by case.  This is a 
 Windowsism.  Sorry.  Complain to Bill if you don't like it! ;-)  You'll
 need to do this as a two step process (i.e. move 'abc' to a different name
 temporarily and then move it to 'Abc').

The above is not true:

C:\dir
[snip]
05/03/2002  08:48a  DIR  bar
05/03/2002  08:47a   0 foo
...

C:\ren bar BAR
ren bar BAR

C:\ren foo FOO
ren foo FOO

C:\dir
[snip]
05/03/2002  08:48a  DIR  BAR
05/03/2002  08:47a   0 FOO

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: mv problem

2002-05-03 Thread Larry Hall (RFK Partners, Inc)

At 09:05 AM 5/3/2002, Jason Tishler wrote:
Larry,

On Thu, May 02, 2002 at 10:51:45AM -0400, Larry Hall (RFK Partners, Inc) wrote:
  As you can see, you cannot rename file differing only by case.  This is a 
  Windowsism.  Sorry.  Complain to Bill if you don't like it! ;-)  You'll
  need to do this as a two step process (i.e. move 'abc' to a different name
  temporarily and then move it to 'Abc').

The above is not true:

 C:\dir
 [snip]
 05/03/2002  08:48a  DIR  bar
 05/03/2002  08:47a   0 foo
 ...

 C:\ren bar BAR
 ren bar BAR

 C:\ren foo FOO
 ren foo FOO

 C:\dir
 [snip]
 05/03/2002  08:48a  DIR  BAR
 05/03/2002  08:47a   0 FOO


Well, if you mean that the issue is not, strictly speaking, a Windows issue,
there's some validity to that statement.  Given all the history of mv
functionality, I personally hesitate to suggest that there's a patch to 
mv that will make this possible without breaking something else that's
important for mv in Cygwin/Windows (though I don't discourage others from 
trying if they are so inclined).  It is Windows, in general, that enforces 
case-insensitivity of it's file systems though, which doesn't help.  Of 
course, you've also pointed out that there is an alternative to mv in 
DOS-land that allows this operation to be done in one step, for those that 
prefer such a thing! ;-)



Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




mv problem

2002-05-02 Thread Sylvain Petreolle

Hi all,

I got a problem when running mv :

i have the directory abc and want to rename
it as Abc (or something that changes the
capitalisation only).

I get the following result :

$ mv abc Abc
mv: cannot create directory
`Abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc
/abc/abc/abc/abc/abc': Invalid argument


___
Do You Yahoo!? -- Une adresse yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/