Re: bug: rm command

"Alfred M. Szmidt" <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
As you haven't specified the operating system you are using the
question is impossible to answer.

From (coreutils)rm invocation:
`-d'
`--directory'
     Attempt to remove directories using the `unlink' function rather
     than the `rmdir' function, and don't require a directory to be
     empty before trying to unlink it.  This works only if you have
     appropriate privileges and if your operating system supports
     `unlink' for directories.  Because unlinking a directory causes
     any files in the deleted directory to become unreferenced, it is
     wise to `fsck' the filesystem after doing this. Note that this
     option will call `unlink' on the target with no additional checks,
     so may be useful for non-directories in cases where `stat' fails
     for the target.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.