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: From: genonceaux AT orc DOT fr Date: Fri, 24 Aug 2012 13:58:41 +0200 Content-Type: text/plain; charset="ISO-8859-1" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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