Finding lost things with CustomJS (instead of dataview or a plugin)

I did type this in a blog, as there is a gist reference. Fair warning, this is an advanced approach. I wanted something that would allow me to review missing links to non-markdown files (and figure out if I just dropped something, or if I should be referencing something that I somehow dropped a link to, or… ).

The long and short is that I’m using an invokable script from the CustomJS plugin to go through all files and notes in my vault to update the contents of a note with lists of missing link targets and unreferenced files. If you use a sync target, you can exclude this from sync so you don’t make a lot of change noise.

The following post has the details and the GitHub gist:
https://www.ebullient.dev/2023/09/14/find-lost-things-in-obsidian-with-customjs.html

Hope this helps or inspires. :wink:

2 Likes