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
Message-ID: <001101c3dcd7$42a0f530$99280518@HUNG>
From: "Gene C. Ruzicka" <gcruzicka AT comcast DOT net>
To: "Baurjan Ismagulov" <ibr AT ata DOT cs DOT hun DOT edu DOT tr>, <cygwin AT sources DOT redhat DOT com>
References: <20040116115643 DOT GA28749 AT ata DOT cs DOT hacettepe DOT edu DOT tr>
Subject: Re: deleting a file ending with a dot
Date: Sat, 17 Jan 2004 00:52:38 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes


> Hello,
> 
> tar has created a file ending with a dot, and now I can't delete it
> (I've tried rm, del in cmd, explorer, far, unlink call with and without
> -mno-cygwin). What would you suggest before I search an 8-GB volume for
> the directory entry with a disk editor? I would appreciate any help
> (pointers to NTFS directory structure description also welcome).
> Scandisk didn't report any problems.
> 
> Thanks in advance,
> Baurjan.
> 

i often mistype and end up with a file with a syntactically invalid name. the way
i usually delete such files is to employ "rm -i *," which then prompts
for the removal of every file in the directory. it seems to work even 
for filenames with invalid syntax.

gene


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