in reply to make infinite loop for live directory
You could keep a list of files that have been processed.
When a new file appears, process that new one.
Adjust your list of processed files as each new one comes in.
There can be some issues with this, please explain your application more.
|
|---|