Yes, I've got the same idea. Thanks.
Tom

On Tue, 27 Aug 2019, 10:49 Arpad Boda, <[email protected]> wrote:

> Quite a special case, I would go for executescript proc and do the logic
> you need in Python.
>
> On Tue, Aug 27, 2019 at 8:45 AM Tomislav Novosel <[email protected]>
> wrote:
>
>> Hi Arpad,
>>
>> The thing is I don't have exact file creation frequency and it is not
>> always the same. Also, files was created months ago.
>>
>> Regards,
>> Tom
>>
>> On Mon, 26 Aug 2019 at 11:59, Arpad Boda <[email protected]> wrote:
>>
>>> Tom,
>>>
>>> What about ListFile->FetchFile flowchain, ListFile configured with a
>>> maximum file age lower than the frequency of the file creation you have?
>>>
>>> Regards,
>>> Arpad
>>>
>>> On Mon, Aug 26, 2019 at 10:19 AM Tomislav Novosel <[email protected]>
>>> wrote:
>>>
>>>> Any ideas?
>>>> Thanks,
>>>> Tom
>>>>
>>>> On Thu, 22 Aug 2019 at 16:06, Tomislav Novosel <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have scenario where I need to read only the latest(the youngest)
>>>>> file according to creation date. The files are:
>>>>>
>>>>> Load_Dump_1.001.2019-07-22_17-22-45994.ifl - creation date
>>>>> 2019-07-22T17:24:44+0200
>>>>> Load_Dump_1.001.2019-07-22_17-25-09132.ifl - creation date
>>>>> 2019-07-22T17:26:14+0200
>>>>>
>>>>> So I need to fetch only the second file which is the youngest.
>>>>> I have multiple folders with files and they are filtered by extension
>>>>> (.ifl).
>>>>>
>>>>> How can I filter them and fetch only the youngest .ifl file from every
>>>>> folder?
>>>>>
>>>>> BR,
>>>>> Tom
>>>>>
>>>>>

Reply via email to