From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11311 invoked by alias); 2 Nov 2018 05:33:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11298 invoked by uid 89); 2 Nov 2018 05:33:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=explains, H*UA:6.1, H*u:6.1 X-HELO: m0.truegem.net Received: from m0.truegem.net (HELO m0.truegem.net) (69.55.228.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Nov 2018 05:33:52 +0000 Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id wA25Xotm006883 for ; Thu, 1 Nov 2018 22:33:50 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 162-235-43-67.lightspeed.irvnca.sbcglobal.net(162.235.43.67), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdUWKLgi; Thu Nov 1 21:33:46 2018 Subject: Re: (SOLVED) RFE: find -d -size 0 => doesn't find empty directories To: cygwin@cygwin.com References: <5BDA347D.8070909@tlinx.org> <9c0c7f6c-f400-59f2-1002-c81aeffba96f@maxrnd.com> <5BDB297B.4050401@tlinx.org> From: Mark Geisert Message-ID: <77532797-caed-785e-c774-b415ec72a4f0@maxrnd.com> Date: Fri, 02 Nov 2018 05:33:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: <5BDB297B.4050401@tlinx.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-11/txt/msg00022.txt.bz2 L A Walsh wrote: > On 10/31/2018 9:39 PM, Mark Geisert wrote: > >> >> I shouldn't have blindly trusted the Subject:. > --- > You did and gave the right answer. I had forgotten about > empty -- though not sure why. I guess I usually only use it for file > normally. For empty directories under /tmp, I usually use 'rmdir *'. What I meant was, I blindly trusted "-d" to select directories. It doesn't. One has to explicitly say '-type d' to do that. 'man find' explains. Cheers, ..mark -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple