Re: removing wierd files
On Wed, Oct 20, 2004 at 12:51:32PM -0400, Matt Price wrote:
>
> hi,
>
> somehow I've gotten a bunch of strange files in my home directory:
>
> -rw------- 1 matt matt 16K 2004-05-31 17:07 -0.png
> -rw------- 1 matt matt 80K 2004-05-31 17:07 -0.wmf
> -rw------- 1 matt matt 20K 2004-04-27 12:25 -1.jpg
> -rw------- 1 matt matt 136 2004-05-31 17:07 -1.png
> -rw------- 1 matt matt 80K 2004-05-31 17:07 -1.wmf
>
> 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 -?
rm -- -*
Frank
>
> thanks,
>
> matt
>
> --------------------------
> .''`. Matt Price
> : :' : Debian User
> `. `'` & hemi-geek
> `-
> --------------------------
> don't use these addresses: aardvark@derailleur.org, zeus@derailleur.org
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
Reply to: