This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rmdir limitation to 3192 directories


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]