find(1) removes as it should a directory, but after this it complains about

Matthias Apitz guru at unixarea.de
Mon Apr 20 09:06:18 UTC 2020


El día Montag, April 20, 2020 a las 10:26:20 +0200, Fernando Apesteguía escribió:

> Not sure it is, but GNU find (as of findutils 4.5.12) has the same behavior.
> 
> As workaround, would -delete work fo you?
> 
> find foo -type d -delete

This does not purge non empty directories.

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


More information about the freebsd-questions mailing list