Bugzilla – Bug 112599
can not delete a file with "-" as a first character
Last modified: 2005-08-24 05:30:30 UTC
by example: create a file with command: tgz --help a file with name --help.tgz will be created. try to erase the file with rm *.tgz rm: unrecognized option `--help.tgz' is the failure message with mv, cat ... it is the same. the command: > --help.tgz is working
please read a good unix book, this is a FAQ. To delete files starting with - , use: rm -- *.tgz