in reply to Re: Quickest way to get the oldest file
in thread Quickest way to get the oldest file

Even on *Nix platforms you cannot not reliably do this
To clarify: (from the unix-faq):
3.1) How do I find the creation time of a file? You can't - it isn't stored anywhere. Files have a last-modified time (shown by "ls -l"), a last-accessed time (shown by "ls -lu") and an inode change time (shown by "ls -lc"). The latter is often referred to as the "creation time" - even in some man pages - but that's wrong; it's also set by such operations as mv, ln, chmod, chown and chgrp. The man page for "stat(2)" discusses this.



Code is (almost) always untested.
http://www.justicepoetic.net/
  • Comment on Re: Re: Quickest way to get the oldest file