Re: removing wierd files

2004-10-21 Thread Adam Garside
On Wed, Oct 20, 2004 at 02:42:21PM -0400, Matt Price wrote: > CW Harris wrote: [Snip] > thank you for the info. anyone know what the '--' option sigifies? I > notice it's not really documented in the man page. > m '--' instructs most utilities to stop parsing command options and treat everything

Re: removing wierd files

2004-10-20 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Price <[EMAIL PROTECTED]> writes: > is there a way to reference files whose names begin with -? I think it's done by adding another - to the start of the filename when you're specifying it. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (

Re: removing wierd files

2004-10-20 Thread CW Harris
On Wed, Oct 20, 2004 at 02:42:21PM -0400, Matt Price wrote: > 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 refer

Re: removing wierd files

2004-10-20 Thread Matt Price
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

Re: removing wierd files

2004-10-20 Thread Matt Price
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 >

Re: removing wierd files

2004-10-20 Thread Frank Gevaerts
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---

Re: removing wierd files

2004-10-20 Thread CW Harris
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. -- Chris

Re: removing wierd files

2004-10-20 Thread Ken Gilmour
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 -

Re: removing wierd files

2004-10-20 Thread Adam Garside
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' -- asg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PRO