http://www.perlmonks.org?node_id=922331


in reply to Get folders in a directory with 20k directories?

Depending on how far over 20000 files you are, this article may be relevant - it explains how readdir can fail for VERY large directories, and how you can get around it.

Mike
  • Comment on Re: Get folders in a directory with 20k directories?