Notice: Trying to access array offset on value of type bool in /home/customer/www/flogvit.com/public_html/wp-content/themes/Divi/includes/builder/functions.php on line 2442
perl ls files | Flogvit

List a directory with millions files on linux

I needed to list all the files in a directory which had a lot of files, actually 4060276 to be exact. Usually I do this with ls or find, but with ls it used over 600 MB memory, and a lot of time. So I set out to find a better way of doing this. I found a post...
%d bloggers like this: