[Gllug] Deleting files starting with -

Jonathan Dye jonathan.dye at automationpartnership.com
Wed Dec 4 10:26:19 UTC 2002


Chris Ball wrote:
>>> On 2002-12-04, Jonathan Dye
> <jonathan.dye at automationpartnership.com> said:
> 
>    > Hi, Can anyone tell me how I can delete files that start with a
> - ? 
> 
> rm(1) - and lots of GNU utils - have a signifier of '--' to show the
> end of the option switches.  So, rm -- --help should do you.

I remember that now you've pointed it out :-)

> There's also rm ./--help. 

duh, of course, I should have thought of that!

Thanks,

JD

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list