delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/24/10:30:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <OF8DF65A85.424F55D9-ONC1257A64.004113A8-C1257A64.0041CC0C@orc.fr>
References: <OF8DF65A85 DOT 424F55D9-ONC1257A64 DOT 004113A8-C1257A64 DOT 0041CC0C AT orc DOT fr>
Date: Fri, 24 Aug 2012 10:30:12 -0400
Message-ID: <CA+sc5m=LfOU1VLDaprzqMX-dWKSwuS7X11tC6WnOk=VTEaRdGw@mail.gmail.com>
Subject: Re: rmdir limitation to 3192 directories
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Aug 24, 2012 at 7:58 AM, genonceauxwrote:

>
> I try to delete empty directories with this command : "/bin/find /path
> -depth -type d -empty -execdir rmdir \{\} \;"

If you change this to

/bin/find /path -depth -type d -empty -delete

>
> If the number of empty directories to remove greater than 3192, I have the
> following message for the directories to remove remaining :
> "Bad file descriptor"

do you still get this?

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019