delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/16/09:09:35

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
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Subject: RE: deleting a file ending with a dot
Date: Fri, 16 Jan 2004 14:01:30 -0000
MIME-Version: 1.0
In-Reply-To: <20040116135301.GC28749@ata.cs.hacettepe.edu.tr>
Message-ID: <NUTMEG2om1joKIB5i5Q00000141@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 16 Jan 2004 14:01:30.0812 (UTC) FILETIME=[3E02BFC0:01C3DC39]

 

> >   Maybe there's a problem with the perms on it?  What output do you 
> > get from "ls -la file." and from "cacls file." ?
> 
> ls: cachedmetrics.: No such file or directory
> 
> I don't have cacls installed, but getfacl also says "No such 
> file or directory".

> Thanks for the tip :) . All programs said that they cannot 
> find such a file. Unlink returned ENOENT. When I click on 
> "Properties", there is no file name in the window.

  Then it does sound like a filename with an illegal char in it; various
windoze versions do have problems with them, so it's maybe the case that
it's not actually a period on the end of the filename, but an unprintable
ascii char that ls and so on output as a period.  To test this theory, try
using "ls -b" to view any unprintable chars as octal.

  You could also try deleting it by pattern matching, such as "rm
cachedmetrics?".  Or have you tried dragging it straight into the recycle
bin from explorer?  Or entering a name in the blank filename space in the
properties sheet?  Or renaming it from command line, dos or bash, using
pattern-matching?

  I've had these sorts of files turn up once in a while.  They can be a
nuisance but I've always managed to get rid of them in the end with one or
other of the above sorts of solutions.


      DaveK



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