deleting illegaly named file

dave morton dmorton-VBJBm02B4Ag at public.gmane.org
Fri Jul 16 16:11:41 UTC 2004


Somehow a file has been prepended by a  '  -  ' (subtraction sign)

Bash won't let me delete or move it as the minus sign makes the file illegal

How do I get around this ? Is there a way to temporarily disable the bash 
shell or
add the ' - ' as a wild card?

I have tried surrounding it with single and double quotes like
rm -f  "-abc123.bmp", but no luck

Thanks
Dave

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list