Date: Mon, 20 Apr 2020 11:06:14 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-questions@freebsd.org Subject: Re: find(1) removes as it should a directory, but after this it complains about Message-ID: <20200420090614.GB30229@sh4-5.1blu.de> In-Reply-To: <CAGwOe2Z5hnkf4B0cJeRpvWqfOxnaKBz6dv%2BKne8MnedQ4otuOg@mail.gmail.com> References: <20200420081627.GA30229@sh4-5.1blu.de> <CAGwOe2Z5hnkf4B0cJeRpvWqfOxnaKBz6dv%2BKne8MnedQ4otuOg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200420090614.GB30229>