On Sun, 10 May 1998, Will Lowe wrote:

> On Sun, 10 May 1998, Keith wrote:
> 
> > I have been trying to delete directories that are not empty. I try doing
> > a rm -d * but I get a response that the operation is not allowed. I am
> > logged in as root. What am I doing wrong. I am looking something that
> > works like deltree in dos.
> 
> rm -r directoryname
> 
>       will recursively remove "directoryname" and any files or
> directories in it.
>  WARNING WARNING WARNING
>       This is a dangerous command to run as root,  because you can
> destroy your system and make it unbootable (like doing "deltree c:\" in
> dos) ... make absolutely sure you want to get rid of whatever's in that
> tree,  and that your system doesn't need any of that stuff to run...
> 
>                                                       Will

Good point.  It's actually a dangerous thing to do period.  It's not a
question of if you will one day trash crucial stuff, it's when.  I
reccoment you make up a ~/recycle directory or something like it and then
use mv -R whatever ~/tmp.

> 
> 
> --------------------------------------------------------------------------
> |             [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]           
> |
> |                     http://www.cis.udel.edu/~lowe/                   |
> |    PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey    |
> --------------------------------------------------------------------------
> |           You think you're so smart,  but I've seen you naked          |
> |                  and I'll prob'ly see you naked again ...              |
> |                 --The Barenaked Ladies,  "Blame It On Me"              |
> --------------------------------------------------------------------------
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to