Clean up the hookmark database after deleting files

I’m surprised that this hasn’t popped up earlier in the forum, but here’s my question : I have a bunch of hooks to files that have been trashed (and the trash has been emptied).

These hooks still appear in the list, for example if I do a search of my hookmark database. Here is what I see:

Admittedly my use case was weird (i generate a bunch of hooks to test some automation on my mac, and I trashed all garbage hooks at once …) so I’m not sur if it’s just a matter of the database not catching up on my housekeeping?

Thanks for any thoughts.

They would need to be deleted one by one. Hookmark does not delete automatically delete bookmarks to items in the trash because (a) you remove the file from trash; (2) delete the file on one Mac yet one to keep the hook on another Mac. This is relevant because sync may be enabled.


We do intend to

  1. support multi-select in the future to facilitate bulk operation on bookmarks (deletion, etc). The bookmarks will be available in a separate Hookmarks window.
  2. have an option to hide bookmarks that are in the trash.