rmdir limitation to 3192 directories

Earnie Boyd earnie@users.sourceforge.net
Fri Aug 24 17:55:00 GMT 2012

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?

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

More information about the Cygwin mailing list