[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how do I delete not empty directories



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.

I have no idea how deltree works, but to remove a directory, it's
files, and subdirectory(s) and their files & sub-directory(s):

rm -rf /path/to/the/directory_you_want_to_be_rid_of

will do the job.  man rm will tell you about this and other rm
capabiliies
it detail.
> 
> Keith
> nfn11988@naples.net
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
-----------------------------------------
Ralph Winslow		      rjw@nac.net
<Insert sardonic phrase here>


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: