how to del files named #???#
Randall R Schulz
rrschulz@cris.com
Sat Mar 23 13:51:00 GMT 2002
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/
More information about the Cygwin
mailing list