Fast Linux file count for a large number of files

后端 未结 17 2640
名媛妹妹
名媛妹妹 2020-12-22 17:21

I\'m trying to figure out the best way to find the number of files in a particular directory when there are a very large number of files (more than 100,000).

When the

17条回答
  •  心在旅途
    2020-12-22 18:08

    You could try if using opendir() and readdir() in Perl is faster. For an example of those function, look here.

提交回复
热议问题