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.. |
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 |
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. |