cp claiming my files are the same when they aren't
Robert R Schneck
schneck@math.berkeley.edu
Sun Feb 8 22:15:00 GMT 2004
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/
More information about the Cygwin
mailing list