delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/08/17:15:16

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
To: cygwin AT cygwin DOT com
From: Robert R Schneck <schneck AT math DOT berkeley DOT edu>
Subject: Re: cp claiming my files are the same when they aren't
Date: Sun, 8 Feb 2004 22:14:54 +0000 (UTC)
Lines: 18
Message-ID: <c06ccu$rvp$1@sea.gmane.org>
References: <c01cal$u80$1 AT sea DOT gmane DOT org>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 80.45.150.230
User-Agent: slrn/0.9.8.0 (CYGWIN_NT-5.1)

Steve <beforewisdom AT yahoo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019