DelTree? BusyBox's rmdir won't do it.

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

DelTree? BusyBox's rmdir won't do it.

#1 Post by sunburnt »

Is there a way I can delete a dir. & ALL of it's contense? BusyBox won't do it.
Hopefully there's a way to do it without having to install a: rmdir-FULL
ROX does it, but how? A small & simple scrap of Bash code would be nice...
I sit & think about writing a sub dir. recursion routine to do it... yikes!

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#2 Post by paulh177 »

surely rm -rf ./dirname ?

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Thanks paulh177, I hadn't thought of using rm to delete dirs. (duh...)

Thank god & helpful people for the simple fixes in our lives.

Post Reply