bug-findutils
[Top][All Lists]
Advanced

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

find: ... -ok rmdir ... No such file or directory


From: 積丹尼 Dan Jacobson
Subject: find: ... -ok rmdir ... No such file or directory
Date: Sun, 28 Jul 2019 17:37:46 +0800

Please make this not make error messages.
# mkdir /tmp/nnn
# mkdir /tmp/nnn/ooo
# find /tmp/nnn -type d -ok rmdir {} \;
< rmdir ... /tmp/nnn > ?
< rmdir ... /tmp/nnn/ooo > ? y
find: ‘/tmp/nnn/ooo’: No such file or directory
# find /tmp/nnn -type d
/tmp/nnn

(The user cannot just use "-ok -delete.")
$ find --version
find (GNU findutils) 4.6.0.235-f254



reply via email to

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