afero icon indicating copy to clipboard operation
afero copied to clipboard

what's the fastest way to count the number of files in a large directory?

Open lazy-gopher opened this issue 2 years ago • 0 comments

I have a very large directory and slows to a halt when performing an ls. I wanted to know what's the fastest and most cost efficient way to count the number of items in a directory with afero.

lazy-gopher avatar Jun 03 '22 18:06 lazy-gopher