splitbrain/Watcher

never ending loop

kwalker99 opened this issue · 1 comments

Hi
Great product, but it seems to be missing a simple method of excluding certain files from triggering the action/command.

For example, I am using Watcher to trigger a simple script that launches Grive. Grive is a FOSS google drive alternative for linux. It saves it state in two files, .grive and .grive_state, which are also located in the google drive folder I am watching, Grive doesn't include any options to override the location of these files. These are updated every time Grive uploads/deletes/downloads etc, this then triggers watcher, which triggers Grive and round and round we go.

I have added entries to the watcher.ini file, but is just ignores them.
excluded=/home/kevin/googledrive/.grive,/home/kevin/googledrive/.grive_state

Please can you extend the excluded option to include files and types of files.

tromm commented

Same Thing with nextcloud. Please, implement a switch / option to exclude hidden files beginning with a dot.