Finding Dead Links?

I’ve been a little remiss in cleaning up links on both the destination such as deleting a note w/o deleting the link from HM or 1/2 of a note to note link. Is there a way other than a one at a time search or [find-by-stumble] to search them out?
Thanks.

PS: I’m using “note” as a generic object term. Basically any link that shows in the bookmark window.

Sounds to me like something HM — more specifically a background service for HM — could warn you of then do if requested. The macOS event system can tell a suitably privileged process when ever a filed is opened, closed, modified, deleted.

May be add this one to the feature requests?

Another option would be to have HM scan its database to check the existence of both ends of every hook, perhaps on start up or when requested. That would also give an opportunity to update links that are partially wrong — a file has been moved so the file name has changed, but the inode is good.

Do you mean you want to find out all bookmarks that do not have hooked items, @bnm3215 ?

If yes, Hookmark AppleScript or Shortcuts might help.

Do you mean you want to find out all bookmarks that do not have hooked items, @bnm3215 ?
If yes, Hookmark AppleScript or Shortcuts might help.

Yes, that’s exactly what I mean . How so?