farux / obsidian-auto-note-mover

This is a plugin for Obsidian (https://obsidian.md).
MIT License
290 stars 22 forks source link

add frontmatter field check for trigger #53

Open prashant2402 opened 1 year ago

prashant2402 commented 1 year ago

This is for https://github.com/farux/obsidian-auto-note-mover/issues/25 to add a simple frontmatter property check feature. Tested locally and works well. You can use multiple rules if you want to match an array of frontmatter property values. Screenshot 2023-05-27 112259

axelson commented 1 year ago

Thanks for this! This makes the plugin much more usable for me!

FYI I've pulled this into my own fork (this is the only change currently). If you use https://github.com/TfTHacker/obsidian42-brat then you can use my fork with axelson/obsidian-auto-note-mover

Kmfernan5 commented 1 year ago

Thanks I'm gonna use this now @axelson @prashant2402 axelson/obsidian-auto-note-mover

koenbunders commented 1 year ago

+1 on this feature request!

TheEmanuelSampaio commented 1 year ago

Thanks for this! This makes the plugin much more usable for me!

FYI I've pulled this into my own fork (this is the only change currently). If you use https://github.com/TfTHacker/obsidian42-brat then you can use my fork with axelson/obsidian-auto-note-mover

Hey bro, could you please also add this feature: #62 ?? I'd thanks a lot!

josh-79 commented 1 year ago

+1 this feature would be great!

macbikegeek commented 1 year ago

@axelson Thanks for the addition of properties!

preflower commented 11 months ago

how to match an array of frontmatter property values? i check the code and found it not support multiple properties

mardybardy commented 6 months ago

@axelson Hey man, just installed your fork using BRAT, works a charm! Is there any chance you could add a feature that instead of using excluded folders it only moves notes from one folder? I basically only want it to move notes from my inbox and leave everything else untouched. I have found a way to do this by setting my excluded folder to the following regex ^(?!).*$ which will match everything except (which is what my inbox is named) but it feels a bit hacky. Any chance of seeing if the Obsidian guys will let you take over the plugin as well seeing as though this repository/account seems dead? The owner hasn't committed anything in over two years.

harrislop commented 3 weeks ago

@axelson Hello! Thank you so much for the helpful functionality; I've been using it well. I have an additional question. Currently, to add a frontmatter property, the property value must be enclosed in quotation marks. However, I'd also like to use boolean attributes, like a checkbox with true/false values, but it doesn't seem to work as expected. Could this functionality be updated?

Thank you for providing such great features!

DryIce1 commented 1 week ago

@prashant2402 Could you please update to add regex handling?

I would like to put notes with

It works well to capture any subtags or exclude subtags with the original tag based functionality, as seen below

but your update does not seem to work with Regex. Could you please add this functionality? Kind regards