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

Re: [cobalt-users] How to remove a directory



Michael Crick wrote:

I have some directories that i would like to remove from my Linux server. The directories have files in them so when i use the rmdir command it tells me that the directory is not empty. I was wondering if anyone knew what the command is to remove a directory without having to first empty it as i have a large number to be removed and don't want to have to slowly go through the directories one by one removing the files first. I also tried rmdir -r but that didn't work either.

It's "rm -rf directory/"