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