[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: removing wierd files



CW Harris wrote:
On Wed, Oct 20, 2004 at 01:33:30PM -0400, Adam Garside wrote:

On Wed, Oct 20, 2004 at 12:51:32PM -0400, Matt Price wrote:
[Snip]

rm \-*
or
rm '-0.pnf'

is there a way to reference files whose names begin with -?

try 'rm -- -0.pnf'


Or "rm ./-0.pnf" works too.


doh!  and it's even in the manual!

thank you for the info. anyone know what the '--' option sigifies? I notice it's not really documented in the man page.
m



Reply to: