in reply to Recent file
Traditional *nix file systems and interfaces do not keep or make available file creation time but Windows file systems (FAT and NTFS) and interfaces do. From perl you can use Win32::FileTime to get the creation time of a file on a Windows platform.
So, on most *nix platforms you cannot find the most recently created file but you may find that finding the most recently modified file is an adequate approximation to the most recently created file.
On Windows you can check the creation time of each file to find the one with the most recent creation time.
|
|---|