From owner-freebsd-questions@freebsd.org Mon Apr 20 09:06:18 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 49C752BBF81 for ; Mon, 20 Apr 2020 09:06:18 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 495LQx4llkz3yGf for ; Mon, 20 Apr 2020 09:06:17 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1jQSNa-0007BS-Qn for freebsd-questions@freebsd.org; Mon, 20 Apr 2020 11:06:15 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.90_1) (envelope-from ) id 1jQSNa-0007qC-OS for freebsd-questions@freebsd.org; Mon, 20 Apr 2020 11:06:14 +0200 Date: Mon, 20 Apr 2020 11:06:14 +0200 From: Matthias Apitz 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> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org References: <20200420081627.GA30229@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 495LQx4llkz3yGf X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.0.206) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [2.89 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(0.36)[ipnet: 178.254.0.0/19(0.92), asn: 42730(0.88), country: DE(-0.02)]; NEURAL_SPAM_MEDIUM(0.81)[0.810,0]; NEURAL_SPAM_LONG(0.92)[0.924,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[206.0.254.178.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 09:06:18 -0000 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!