[wplug] Dumb question on rm or mv

Bob Schmertz rschmertz at speakeasy.net
Fri Aug 1 19:17:09 EDT 2003


Russ Schneider incurred the wrath of Bob on Aug 1, by saying

>I mistakenly generated a file name -08-01-2002.sql
>Now, when I try and rm or mv it, I get an error because the system 
>thinks it's an option because of the -.
>
>How to I rm this file?

The canonical answer:
	rm ./-08-01-2002.sql

The GNU answer:
	rm -- -08-01-2002.sql

The n00b answer:
	Find a GUI/curses app to do it with.

-- 
Cheers,
Bob Schmertz




More information about the wplug mailing list