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.
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils