[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug: rm command
From: |
Alfred M. Szmidt |
Subject: |
Re: bug: rm command |
Date: |
Wed, 13 Nov 2002 17:34:54 +0100 |
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.