This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cp claiming my files are the same when they aren't


Steve <beforewisdom@yahoo.com> wrote:
> cp keeps sending me error messages that it can't copy the file ( even 
> with -f ) because the files are the same.

Hmm, I've noticed the following behavior.  If I run the following 
commands in an empty directory:
  mkdir foo
  mkdir bar
  touch foo/toto.exe
  cp foo/toto bar

I'll get
cp: `foo/toto' and `bar/toto' are the same file

So maybe you're experiencing some odd artifact of Cygwin's 
semi-identification of filenames like "toto" and "toto.exe"?

Robert


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]