I use tags to automate filing. One set of files uses macOS tags (no problem) but I have another set of files that I need a separate set of tags for, which I am using OpenMeta. Some of the second set could be tagged automatically using Hazel, indeed I have this working when one tag is relevant:
- Code: Select all
if
comment contains "keyword"
then run embedded script
xattr -w com.apple.metadata:kMDItemOMUserTags Tag1 $1
But, I have a problem when more than one tag is relevant: I cannot find the correct syntax for adding two (or more) tags.