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

Re: removing wierd files



On Wed, Oct 20, 2004 at 06:32:45PM +0100, Ken Gilmour wrote:
> Ar Wed, 20 Oct 2004 12:51:32 -0400, scr?obh Matt Price:
> >?somehow I've gotten a bunch of strange files in my home directory:
> >?I've tried to remove them but bash doesn't seem to like commands of
> >?hte kind:
> >
> >?rm \-*
> >?or
> >?rm '-0.pnf'
> >
> >?is there a way to reference files whose names begin with -?
> >
> >?thanks,
> >
> >?matt
> 
> What about 
> rm *0.png

tried that too:
$ rm *0.png
rm: invalid option -- 0
Try `rm --help' for more information.

somehow I need to escape the '-' but can't seem to manage it.
m

> 
> 

--------------------------
 .''`.       Matt Price 
: :'  :      Debian User
`. `'` 	     & hemi-geek
  `-     
-------------------------- 
don't use these addresses:  aardvark@derailleur.org, zeus@derailleur.org



Reply to: