fatoldsun00 / node-red-contrib-watchdirectory

Watch directory for create, update, delete event
9 stars 7 forks source link

File read order #11

Open GregHeeleyNZ opened 2 years ago

GregHeeleyNZ commented 2 years ago

When enabling the node on a folder containing files it seems to return them in an arbitrary order. Is there any flag or method to set the return to be in last modified order? We have a need to watch a folder and action files in the order they were created, normally this would be actioned by picking them up when they are created but if we have some system issue we may need to process a mass of files.