farux / obsidian-auto-note-mover

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

what happend if two tags match two move rules in a file? #21

Closed 668168 closed 2 years ago

668168 commented 2 years ago

Rule 1.

tags name "todo", move to folder named "I000-Inbox"

Rule 2.

tags name "office", move to folder named "O000-Office"

then :

create a file with tag "todo" and "office", what happend?

farux commented 2 years ago

As explained in the README, notes are moved according to the first matching rule. If the list of rules is sorted numerically, the note will be moved to the destination folder of Rule1.

668168 commented 2 years ago

thanks for your patient explain .

Got it from readme .

The rules are checked in order from the top. The notes will be moved to the folder with the first matching rule.

close the issue . please.