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

Re: how do I delete not empty directories



> 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 -rf dirname

In general, refer to "man rm", or "man <whatever>". They have ALL the answers.

Alex Y.
-- 
   _ 
 _( )_
(     (o___           +-------------------------------------------+
 |      _ 7           |            Alexander Yukhimets            |
  \    (")            |       http://pages.nyu.edu/~aqy6633/      |
  /     \ \           +-------------------------------------------+


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


Reply to: