[Gllug] Deleting files starting with -

John Winters john at linuxemporium.co.uk
Wed Dec 4 10:18:15 UTC 2002


On Wed, 2002-12-04 at 10:17, Jonathan Dye wrote:
> Hi,
> 
> Can anyone tell me how I can delete files that start with a - ?
> I have a file called --help (due to an earlier misdirection accident) and I
> also now have a file called -100003.csv (due to a program bug) but I can't
> work out how to delete either of them as rm complains about an invalid
> option for the second one and give me the help screen for the first one.

rm ./-100003.csv

John

-- 
The Linux Emporium - the source for Linux in the UK
See http://www.linuxemporium.co.uk/

We had a woodhenge here once but it rotted.


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




More information about the GLLUG mailing list