DT cannot see some PDFs in an indexed folder

Hello. I just found out that my Attachments folder—the folder Bookends uses to store all my bibliographic PDFs, Markdown, and other files—has 2834 items, while its indexed version inside DT has 2829.

This has happened before, and I fixed it the hard way:

  1. index the Attachments folder in another place in my DB to get the full set of contents
  2. find the ones with “duplicate” icons
  3. make replicants of these from the new batch and place them where their former replicants were.

That took many hours. Now it has happened again.

How can I get DT to re-check the folder and find the missing PDFs itself, and then add them? Dragging the missing ones manually in the past has broken the indexing altogether. Deleting the old set and replacing them will take days wikilinks, links, and replicants will all be broken.

Are any of these folders synched with third-party sync services, and/or you have macOS disk optimisation turned on?

1 Like

Have you tried Menu bar > File > Update Items ? In my experience this has always fixed the discrepancy.

3 Likes

Nope.

Thanks. No difference.

So just to be clear: If I index a folder “F,” and then add things to “F” using Finder, then DT is not supposed to see the new things? It’s only supposed to update the items that were already inside “F” when it was first indexed? Is that correct?

So any new items I add using the Finder need to be CMD-OPT-dragged and indexed manually? Can I drag these into folder “F” that was indexed previously?

Not in my experience. And I’m using only one indexed folder, mounted via SMB. Sometimes (aka DT is currently running), the folder is updated automagically. Sometimes (aka DT is not running), I have to update indexed items.