Zotfile: should bulk moving of stored files not reduce the size of the storage folder ?
Im trying to convert all my attachments to a linked attachments folder synced via OneDrive. My library has about 9500 parent items with attachments, mostly PDFs. The Zotero/storage folder contains 8.7GB of data in about 70.000 files.
To my understanding, Zotfile can bulk his process by selecting all items and 'rename and move' them. If I do this, Zotero runs at 100%+ for a long time, suggesting that it's doing something.
However, should this not (very much) remove the size and number of items in the storage folder ?
Zotfile does appear to work correctly if I add new items with attachments, they are moved to the right folder. But it doesn't appear to work for such bulk moving.
To my understanding, Zotfile can bulk his process by selecting all items and 'rename and move' them. If I do this, Zotero runs at 100%+ for a long time, suggesting that it's doing something.
However, should this not (very much) remove the size and number of items in the storage folder ?
Zotfile does appear to work correctly if I add new items with attachments, they are moved to the right folder. But it doesn't appear to work for such bulk moving.
Could this be the attachments in shared collections ?
It appears those can only be renamed, but not moved.
https://forums.zotero.org/discussion/comment/417599/#Comment_417599
Relative to your numbers, I have ~5000 items in My Library. Under my zotero\storage folder hierarchy there is ~3.5 GB (very few PDFs left there), with ~11,500 files and ~5,000 folders.
My Zotfile Custom Location folder of linked PDFs is ~10 GB.
So maybe your 8.7 GB zotero\storage folder hierarchy's size is just due to (non-PDF) storage required for your 9500 items (about twice the number that I have in my ~3.5 GB) ?? My zotero.sqlite is ~340 MB. Your 70,000 actual files under zotero\storage does still sound somewhat high though.
But the above PDF search under zotero\storage should tell you if Zotfile has done its job in moving all PDFs you asked it to. BTW empty your bin/trash first, to get accurate counts of current files only.
OTOH are there OTHER scenarios where local PDFs could remain under zotero\storage while no longer in the Zotero database (so they would not appear in the Zotero library window, so would never be selectable for Zotfile to move) ? There are some threads referring to such Zotero 'orphaned' PDFs (different to Zotfile orphaned PDFs in the LINKED folder location, which arise when deleting items with linked attachments, unless the Delitem add-on is used).