LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Deleting Whole Trees (http://www.linuxquestions.org/questions/linux-newbie-8/deleting-whole-trees-87100/)

Odd_Bloke 08-29-2003 06:13 PM

Deleting Whole Trees
 
Despite it being environment-damaging, I was wondering if there are console commands that will delete entire directory trees? I have a /lot/ of useless stuff in my downloads directory and often want to get rid of install directories without having to go through all 50 sub-directories deleting everything and then the sub-directories themselves and then all the files in the directory and then the directory itself.

Don't worry, my forestry will be safety-conscious. :D

Cheers,
Dan

DrOzz 08-29-2003 06:14 PM

rm -rf /nameofdirectory


All times are GMT -5. The time now is 07:52 AM.