bug-fileutils
[Top][All Lists]
Advanced

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

Re: rm command


From: Bob Proulx
Subject: Re: rm command
Date: Sat, 28 Jun 2003 09:36:05 -0600
User-agent: Mutt/1.3.28i

mashe wrote:
> I tried using rm -d and rm -f to remove an entire directory including the
> contents of that directory and it would not work.
> thank you for your assistance.

Neither of those options would be appropriate to remove a directory
and its contents.  The -d option is almost never appropriate.  If you
have to ask about the -d option then I am certain that it is not the
option you want.

The command you are probably looking for is:

  rm -rf /path/to/some/directory-to-be-removed

Remember that 'rm' removes files.  Be careful when using it.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]