This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cp claiming my files are the same when they aren't
- From: Robert R Schneck <schneck at math dot berkeley dot edu>
- To: cygwin at cygwin dot com
- Date: Sun, 8 Feb 2004 22:14:54 +0000 (UTC)
- Subject: Re: cp claiming my files are the same when they aren't
- References: <c01cal$u80$1@sea.gmane.org>
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/