Subject: Re: How to delete a non-empty directory?
To: Johnny Billquist <email@example.com>
From: Xianwen Chen <firstname.lastname@example.org>
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 <email@example.com> 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.
> 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
> > firstname.lastname@example.org
> Johnny Billquist || "I'm on a bus
> || on a psychedelic trip
> email: email@example.com || Reading murder books
> pdp is alive! || tryin' to stay hip" - B. Idol
College Of Economics And Trades,Shanghai Fishiries University