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 <ab...@apache.org> 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 <to.novo...@gmail.com>
> wrote:
>
>> Any ideas?
>> Thanks,
>> Tom
>>
>> On Thu, 22 Aug 2019 at 16:06, Tomislav Novosel <to.novo...@gmail.com>
>> 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