This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: how to del files named #???#
- From: Randall R Schulz <rrschulz at cris dot com>
- To: Hongxun Lee <lee dot 1801 at osu dot edu>, cygwin at cygwin dot com
- Date: Sat, 23 Mar 2002 13:49:52 -0800
- Subject: Re: how to del files named #???#
Hongxun,
[ This is not Cygwin-specific--it can occur on any Unix/Linux/POSIX system. ]
Oh, but they can be removed using "rm."
Cd to the directory in which the problematic files reside and issue this
command:
% rm -i *
You will be presented with a prompt for each file in the directory. If you
type a "y<RETURN>" the file will be removed. Other responses will leave the
file in place.
If the entire directory consists of such unwanted files, you can cd to the
parent dir and use "rm -fr" to eradicate the directory and all its contents
without being prompted. This approach does not require shell pattern
matching, so sometimes (for some kinds of file names and / or on some
systems) it works when the previous suggestion does not.
Randall Schulz
Mountain View, CA USA
At 13:33 2002-03-23, hongxun lee wrote:
>I dont know why such files were produced, and they cant be del with
>command rm. Thanks
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/