Re: Rm doesn't work

[email protected] (Bob Proulx) Thu, 17 Apr 2003 21:22:21 -0600
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
cody wang wrote:
> 
> I am trying to use rm -rd <dir>, but it doesn't work. It asks me to
> delete each file one by one as well.

First, never use the -d option.  While the documentation does not come
out and say so, it is an expert only, superuser only option.  :-)

Second, if you want to avoid getting prompts before deleting files
then use the -f option.

  rm -rf <dir>

Bob