Any Way to Monitor a Folder for Changes?

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
madra
Posts: 7
Joined: 10 Dec 2016 11:43
Location: The Intarwebs
Contact:

Any Way to Monitor a Folder for Changes?

Post by madra » 07 Jun 2017 19:55

I'm trying to knock together a flow which will backup data from an app to Dropbox. I can easily enough set timer interval to do this every X minutes / hours / days, but I wondered if there was a way to 'watch' a folder and trigger upload to Dropbox automatically whenever the content changes?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Any Way to Monitor a Folder for Changes?

Post by Martin » 07 Jun 2017 20:41

Hi,

You could use action Init Variable File List to get the list of new and changed files of a folder. Executing the action for the first time lists all files that match the pattern. Please also check out the help page for details.
Alternatively you could also use trigger File Observer to see if anything in a folder was changed (this Android feature seems to be buggy/unreliable on some versions of Android).

Regards,
Martin

User avatar
madra
Posts: 7
Joined: 10 Dec 2016 11:43
Location: The Intarwebs
Contact:

Re: Any Way to Monitor a Folder for Changes?

Post by madra » 07 Jun 2017 20:56

Thanks! I'll check those out

Post Reply