in reply to Re: find "x" quantity newest files in a dir
in thread find "x" quantity newest files in a dir

You might find this rather expensive if you have 100 files or so, but if the directory is constantly being trimmed to 10 or 15 files, that's probably OK. Just in case someone copies your code for another task, it's nice to know how it scales.

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Re: find "x" quantity newest files in a dir