Vinzent03 / find-unlinked-files

Find files, which are nowhere linked, so they are maybe lost in your vault.
MIT License
293 stars 14 forks source link

Support to use glob pattern to match files #18

Open edvardchen opened 2 years ago

edvardchen commented 2 years ago

Instead of offering three dimensions (ext, directory, filename) to match files, I think we can just match files with glob patterns. That will ease user setting and plugin maintenance.

if @Vinzent03 you agrees to do that, I can help and work out a PR

Vinzent03 commented 2 years ago

That is a great idea. I don't have the time to add this, but I'm happy about a PR. Just make sure that packages you add don't base on node js. That's incompatible with Obsidian mobile. But I think we should support the old separation too, because I think it's easier for "non devs" and for backwards compatibility.

sandorex commented 2 years ago

I would like this as well, as i want to include all files that match *.attachment.* and then add that to other extensions like Excallidraw for embedded drawings