On Thu, Jun 24, 2004 at 11:51:09PM -0400,
 [EMAIL PROTECTED] probably wrote:
> On Thu, 24 Jun 2004 20:29:35 -0700
> Hemal Pandya <[EMAIL PROTECTED]> wrote:
> 
> > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp <[EMAIL PROTECTED]>
> > wrote:
> > > 
> > > I'm having a brain freeze tonight and apparently forgot some
> > > basic UNIX commands..
> > > 
> > > what is the command to remove the file "--directory"
> > > 
> > > rm *directory* = nope
> > > rm "*directory*" = nope
> > > rm \-\-\directory = nope
> > > rm -i * = nope and dosent even see the file
> > rm ./-directory
> 
> funny, though i tried these on a test directory...
> 
> rm ./-test
> rm -- --test
> 

You're missing the -r:

$ rm -r -- --test

should work.

-- 
DoubleF
The generation of random numbers is too important to be left to
chance.

Attachment: pgpNnkSuPxIIE.pgp
Description: PGP signature

Reply via email to