Apologies if this is explained somewhere I've looked in the forums and the manual unsuccessfully.
I use Resilio Sync to manage files between devices and users. I have a series of "inboxes" and Hazel processes those for me.
I'd really like to:
1. Add a tag to a file such as "tag-me" to tell Hazel to work on the file
2. Search sequentially through a list a keywords kept in a single text file and if those words are found in the file being processed then add a tag using that keyword
3. Remove the "tag-me" tag
4. File the file using whatever other rules I've set up
This enables me to keep a single keyword file up to date and have Hazel tag accordingly.
An example of the keyword file might be:
- Code: Select all
kanji, ryokan, Japan, finance, recipe, chicken, vegetarian
The file being processed might read:
In Japan it's difficult to access vegetarian food except at ryokan
The outcome should be that the tags:
- Code: Select all
Japan
- Code: Select all
vegetarian
- Code: Select all
ryokan
I'd like to avoid writing bash or AppleScript as I'm not great at it

Thanks for any help.