LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   rmdir for non-empty folder (https://www.linuxquestions.org/questions/linux-general-1/rmdir-for-non-empty-folder-133249/)

Zaius 01-09-2004 09:38 PM

rmdir for non-empty folder
 
there are few folders that i have lying around that i want to delete.. but when using rm -d.. i have to say 'yes' to all of the files in order to delete them..

rmdir doesn't work as it tells me it's non-empty (YA! I KNOW THAT!)..

i looking at rmdir --help and there is a flag in there about ignoring the non-empty message.. but what is it? '--ignore-fail-on-non-empty' wasn't it..

quatsch 01-09-2004 09:41 PM

try this
rm -Rf directory-name

-R stands for recursive, f stands for force (i.e. won't ask any questiones). Use with caution though. Don't wanna erase stuff you need

Zaius 01-09-2004 10:09 PM

thanks.. i suppose should have gone in the Newbie section.. all well.. question answered.


All times are GMT -5. The time now is 06:29 PM.