rm a file with name '--min-size=8'

Ian Chapman packages at amiga-hardware.com
Wed Oct 18 21:40:03 UTC 2006


Yuandan Zhang wrote:

> I incidantly created file named as '--min-size=8'. In fact, I don't know 
> how it was created. I have difficulty to remove it using "rm -rf 
> \--min-size=8 or other ways?
> 
> Any sugestion?

rm -f -- --min-size\=8

should delete it. If a file starts with - then use -- with rm and other 
GNU utils to reference it.


-- 
Ian Chapman.




More information about the fedora-list mailing list