in reply to Quickest way to get the oldest file

Could you maintain a database? That would probably be the fastest. You'd update it every time a file was deleted or a directory was created.

The PerlMonk tr/// Advocate
  • Comment on Re: Quickest way to get the oldest file