delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/24/07:59:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_NJABL_SPAM,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: rmdir limitation to 3192 directories
X-KeepSent: 8DF65A85:424F55D9-C1257A64:004113A8; type=4; name=$KeepSent
Message-ID: <OF8DF65A85.424F55D9-ONC1257A64.004113A8-C1257A64.0041CC0C@orc.fr>
From: genonceaux AT orc DOT fr
Date: Fri, 24 Aug 2012 13:58:41 +0200
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q7OBwwqp026400

Windows Server 2k3 R2 SP2 32 bits
Cygwin 1.7.16-1

$ /bin/find.exe --version
find (GNU findutils) 4.5.9
Packaged by Cygwin (4.5.9-2)

$ /bin/rmdir.exe --version
rmdir (GNU coreutils) 8.15
Paquet réalisé par Cygwin (8.15-1)

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

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"

Philippe

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