public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rmdir limitation to 3192 directories
@ 2012-08-24 14:04 genonceaux
  2012-08-24 17:55 ` Earnie Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: genonceaux @ 2012-08-24 14:04 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmdir limitation to 3192 directories
  2012-08-24 14:04 rmdir limitation to 3192 directories genonceaux
@ 2012-08-24 17:55 ` Earnie Boyd
  2012-08-25  1:13   ` Christopher Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: Earnie Boyd @ 2012-08-24 17:55 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmdir limitation to 3192 directories
  2012-08-24 17:55 ` Earnie Boyd
@ 2012-08-25  1:13   ` Christopher Faylor
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2012-08-25  1:13 UTC (permalink / raw)
  To: cygwin

On Fri, Aug 24, 2012 at 10:30:12AM -0400, Earnie Boyd wrote:
>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?

And, also:  http://cygwin.com/problems.html .

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-24 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-24 14:04 rmdir limitation to 3192 directories genonceaux
2012-08-24 17:55 ` Earnie Boyd
2012-08-25  1:13   ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).