Subject: Re: How to delete a non-empty directory?
To: Johnny Billquist <bqt@update.uu.se>
From: Xianwen Chen <apple45@gmail.com>
List: netbsd-users
Date: 04/06/2006 00:39:39
Thanks.Marin showed me how to solve the problem,and you made me why I
should use this method to solve the prolem.
Thanks again for your help!

On 4/5/06, Johnny Billquist <bqt@update.uu.se> wrote:
> I saw that someone already gave the answer to add -rf to the rm command.
> While that answers your question, it's rather short.
>
> To answer in full: you can't delete a non-empty directory. You first
> need to delete all files within the directory before you can remove the
> directory itself.
>
> And that's what the switches -rf will help you do.
>
>        Johnny
>
> Xianwen Chen wrote:
> > How to delete a non-empty directory?
> >
> > --
> > Xianwen Chen
> > College Of Economics And Trades,Shanghai Fishiries University
> > Shanghai,China
> > 086-21-68022471
> > apple45@gmail.com
>
> --
> Johnny Billquist                  || "I'm on a bus
>                                   ||  on a psychedelic trip
> email: bqt@update.uu.se           ||  Reading murder books
> pdp is alive!                     ||  tryin' to stay hip" - B. Idol
>


--
Xianwen Chen
College Of Economics And Trades,Shanghai Fishiries University
Shanghai,China
086-21-68022471
apple45@gmail.com