[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find command has a bug?
From: |
Andreas Metzler |
Subject: |
Re: find command has a bug? |
Date: |
Sun, 13 Jan 2019 17:28:35 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On 2019-01-13 zcj5918 <address@hidden> wrote:
> I think find has a bug that can be launched by combining several
> commands together, in that it chokes by generating an erroneous report
> when I use inode to delete a directory, although it does remove the
> corresponding directory correctly.
> Please see what happened below:
> Here is the kernel info:
> Is there anything wrong with my operation? I am looking forward to
> your feedback.
https://www.gnu.org/software/findutils/manual/html_mono/find.html#Cleaning-Up
| If your find command removes directories, you may find that you get a
| spurious error message when find tries to recurse into a directory that
| has now been removed. Using the ‘-depth’ option will normally resolve
| this problem.
cu Andreas