Configuring the Watch node

Is there a way to use the watch node to monitor the backup directory? I want to be able trigger a notification when the snapshot file has been added so that I know it is complete, but I can’t seem to get the ‘Files(s)’ entry correct in the node. Any help greatly appreciated.

For now I am using a one hour timer from starting a backup to triggering the backup to dropbox component. I have spent an hour working on this I found the backup directory /usr/share/hassio/backup but I can’t get it to work.

Try the ‘watch’ node that’s built into node red:

Watches a directory or file for changes.
You can enter a list of comma separated directories and/or files. You will need to put quotes “…” around any that have spaces in.
On Windows you must use double back-slashes \ in any directory names.
The full filename of the file that actually changed is put into msg.payload and msg.filename , while a stringified version of the watch list is returned in msg.topic .
msg.file contains just the short filename of the file that changed. msg.type has the type of thing changed, usually file or directory , while msg.size holds the file size in bytes.
Of course in Linux, everything is a file and thus can be watched…
Note: The directory or file must exist in order to be watched. If the file or directory gets deleted it may no longer be monitored even if it gets re-created.

Watch node give me a lot of messages by the file is copying. How can I manage to keep only the last message (like few seconde after size is stable…?) and how i can manage more than ONE file. ? At the end. I want a hot folder to receive new files, and do somes process on it.

nodered