LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only

get latest (modified time) file

  • 1.  get latest (modified time) file

    Employee
    Posted 02-07-2015 15:57

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    I meant to post this a while back, but kept procrastinating. It came up again last week, so I'll finally get to it. The whole graph is centered around the usage of the STAT function, which gives the size, last modified time, and creation time of a file. We can use this to check the contents of a file. So for example, if files are being dumped into a folder on a regular basis, you can use the Directory node to get all the files in that folder, then sort by modified (or create) time, then get the latest one.
    Attachments:
    getLatestFile.brg