How to remove missing attachments from citations?
Posted: Fri May 24, 2019 6:51 am
We have a very large (30,000+) citation database, and it has a few thousand broken attachment links (where the citation thinks it has one or more attachments, but the files do not exist in the Attachments directory). This causes problems for Bookends -- just clicking a citation with a broken attachment link completely hangs Bookends for 5-15 seconds, which makes working in our database like stepping through a minefield.
I'm aware that there is a function to mark citations with broken attachment links, but the shear number is way beyond what we could fix by hand, especially given the slowness of Bookends in dealing with these broken links. Is there some automated method in Bookends, or via AppleScript, that will remove any attachment links that are bogus? Note that I am not trying to reconnect attachments -- the files in question are gone.
Second, it seems like a bug in Bookends that it would hang for such a length of time when the attachment is missing. It takes the patience of a saint to work with any records in this state. Can this speed issue be improved?
I'm aware that there is a function to mark citations with broken attachment links, but the shear number is way beyond what we could fix by hand, especially given the slowness of Bookends in dealing with these broken links. Is there some automated method in Bookends, or via AppleScript, that will remove any attachment links that are bogus? Note that I am not trying to reconnect attachments -- the files in question are gone.
Second, it seems like a bug in Bookends that it would hang for such a length of time when the attachment is missing. It takes the patience of a saint to work with any records in this state. Can this speed issue be improved?