This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: deleting a file ending with a dot
- 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>
- Date: Sat, 17 Jan 2004 00:52:38 -0800
- Subject: Re: deleting a file ending with a dot
- References: <20040116115643.GA28749@ata.cs.hacettepe.edu.tr>
> 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/