Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add frontmatter field check for trigger #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

prashant2402
Copy link

@prashant2402 prashant2402 commented May 27, 2023

This is for #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
Copy link

axelson commented Sep 24, 2023

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
Copy link

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

@koenbunders
Copy link

+1 on this feature request!

@TheEmanuelSampaio
Copy link

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
Copy link

josh-79 commented Nov 8, 2023

+1 this feature would be great!

@macbikegeek
Copy link

@axelson Thanks for the addition of properties!

@preflower
Copy link

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

@mardybardy
Copy link

@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
Copy link

@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
Copy link

DryIce1 commented Nov 22, 2024

@prashant2402
Could you please update to add regex handling?

I would like to put notes with

  • on/topic --> on folder/topic folder
  • on/topic/subtopic --> on folder/topic folder
  • on --> on folder

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

  • Tag : ^#on/topic.*$ --> on folder/topic folder
  • Tag: ^#on(?!/topic\b).*$ --> on folder

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.