Have been caught by this myself, it is the man page that says to use -d for
directories but it never works for me either.
Just what is the -d option for?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Peter Hardy
> Sent: Wednesday, 27 March 2002 9:42 PM
> To: Slug-ers
> Subject: Re: [SLUG] Deleting folders
>
>
> On Thu, 2002-03-28 at 19:31, Marko wrote:
> > I'm trying to delete a folder in a GNU bash shell, it's goes like this
> >
> > # rm -d filename.d
> > rm: remove directory 'filename.d'?   y
> > rm: cannot unlink 'filename.d': Is a directory
> >
> > is there another option?
>
> rm -r
>
> rm has a surprisingly extensive manpage. :-)
>
> --
> Pete
> [EMAIL PROTECTED]
>
> 'There's still something about you I can't put my finger on, Bill Door,'
> she said.  'Wish I knew what it was.'
> The seven foot skeleton regarded her stoically.  He felt there was
> nothing he could say.
>                 -- Miss Flitworth coming to grips with Death
>                    (Terry Pratchett, Reaper Man)
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to