farux / obsidian-auto-note-mover

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

Excluded folders doesn't work intuitively #22

Closed dummifiedme closed 2 years ago

dummifiedme commented 2 years ago

I had an exclusion rule to avoid auto move of files in "Personal/Journal" but when the files were in "Personal/Journal/2022", they were moved automatically into "Personal". (The move rule was to move all the files tagged with #personal into "Personal')

Ideally it should touch any file in the "Personal/Journal".

I had to manually apply exclusion for all the folders inside the "Personal/Journal" which is not intuitive. We could have regex or something...I tried Personal/Journal/* as well, didn't work.

Please fix this issue. Would benefit everyone

image

farux commented 2 years ago

Added regular expression option for excluded folders in v1.2.0. It should work with the option enabled and ^Personal/Journal/

dummifiedme commented 2 years ago

I have been trying it and it is not working :(

It keeps moving my files I intend not to move, kept in the folder which is excluded.

Does it work on your end?

EDIT: I had missed the newly added toggle. My bad.

Thanks a lot :)