X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_RW,TW_WX,TW_YW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 7 Sep 2010 09:00:12 -0500 Message-ID: Subject: likely stupid question but name conflicts with foo and foo.exe? From: mike marchywka To: cygwin Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I'm trying to copy of bunch of files from debian over to windoze using scp -r. This was working fine except for one error where it complains foo is not a directory and apparently I have foo and foo.exe in one dir but foo is a directory. I think this replicates the problem. It seems that ".exe" is confused with no extention. Is this true and what can I do or am I just doing something really stupid? Thanks. $ mkdir acrap mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ echo > x1 mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ echo > x1.exe mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ cp x1* acrap cp: will not overwrite just-created `acrap/x1.exe' with `x1.exe' mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ ls acrap x1.exe mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ mv x1.exe x1.fexe mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ cp x1* acrap cp: cannot create regular file `acrap/x1': File exists mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ ls -al acrap total 6 drwxr-xr-x+ 1 mmarchywka None 0 2010-09-07 08:56 . drwxr-xr-x+ 1 mmarchywka None 4096 2010-09-07 08:56 .. -rw-r--r--+ 1 mmarchywka None 1 2010-09-07 08:51 x1.exe -rw-r--r--+ 1 mmarchywka None 1 2010-09-07 08:56 x1.fexe mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ rm acrap/* mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ cp x1* acrap mmarchywka AT phlulap01 /cygdrive/c/old/download/cdarchive $ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple