Hazel file contents rule failing on hashtag

I have a Hazel rule that is watching my Obsidian vault. I would like it to sync files containing “#share” (tagged with share) to another folder. The rule is failing, and the hashtag seems to be the culprit. If I remove the # from the rule, it syncs, but it then picks up any file with the word “share” not just the ones I have used that tag on.



Has anyone seen this?

1 Like

Not at my mac to test it, but try switching the contain option part of the rule to contains match. I think that should work.

Hope this helps.

It did! Thank you @Tony !

1 Like