How to export old library to Google Drive after setting up Zotero and Google Drive for syncing?
Hi,
Since Zotero storage is tiny, I followed the steps in this protocol for setting up Zotero and Google Drive for syncing. Basically, I want to be able to have my library metadata synced to Zotero, but the files should be stored in Google Drive. The problem is that these steps are basically for new Zotero users which haven't had a library running for years. I have a big library, and would like to do this set up, but also be able to transfer all my library files to the Google Drive folder while keeping the metadata in Zotero starage to avoid problems. My Zotero storage is already full, so I would like the library sync to start all over again to have only the metadata in the Zotero storage and the heavy files in Google Drive.
How should I proceed? Should I reset the online library using the Zotero > Preferences> Sync > Reset > Replace Online Library option and then do the set-up following the steps in the attached link?
https://www.protocols.io/view/setting-up-zotero-and-google-drive-for-syncing-ref-cn7gvhjw.pdf
I'm using the last version of Zotero in a Macbook Pro with macOS 12.6.
Thansk for your support!
Esteban
Since Zotero storage is tiny, I followed the steps in this protocol for setting up Zotero and Google Drive for syncing. Basically, I want to be able to have my library metadata synced to Zotero, but the files should be stored in Google Drive. The problem is that these steps are basically for new Zotero users which haven't had a library running for years. I have a big library, and would like to do this set up, but also be able to transfer all my library files to the Google Drive folder while keeping the metadata in Zotero starage to avoid problems. My Zotero storage is already full, so I would like the library sync to start all over again to have only the metadata in the Zotero storage and the heavy files in Google Drive.
How should I proceed? Should I reset the online library using the Zotero > Preferences> Sync > Reset > Replace Online Library option and then do the set-up following the steps in the attached link?
https://www.protocols.io/view/setting-up-zotero-and-google-drive-for-syncing-ref-cn7gvhjw.pdf
I'm using the last version of Zotero in a Macbook Pro with macOS 12.6.
Thansk for your support!
Esteban
Generally, I'd encourage you to rethink whether Google Drive really is the best option for you: this is all in the advanced tab of the preferences for a reason, and there's a number of ways to mess up linked file settings.
But if you want to continue, you'd use ZotFile --> Manage Attachments --> Rename Files in batch to turn all your current attachments into links in Google Drive and then follow the set-up as described.
Absolutely do not use any of the reset options. You don't need them for your purposes (and they're quite dangerous to use unless you know exactly what you're using them for).
Your online library will progressively sync so that you no longer have PDFs stored in your Zotero online storage. Your metadata will be remain there, but that does not count towards your storage quota (see yours at https://www.zotero.org/settings/storage ).
Note that the instruction under 5.3 in the PDF instructions you linked appears to be incorrect. Keep 'Sync full-text content' selected (it does not count towards your storage quota). Just turn off everything under File Syncing as instructed. 'Full-text content' is the indexed content of the PDF attachments (so that they can be searched using Zotero's quick search and Advanced Search), *not* the PDFs themselves. The deselected settings under File Syncing is what prevents the PDFs being uploaded/synced via Zotero servers.
Moving forward, Zotfile will automatically move new PDFs downloaded by the Zotero web connector to linked storage. However if you simply drag a PDF into Zotero, you will have to do the right click Rename and Move to move it (so it's better to use 'Attach Stored Copy of File' or 'Attach New File', which Zotfile will then move, instead of dragging). There are several other limitations of linked files, documented here:
https://www.zotero.org/support/attaching_files#stored_files_and_linked_files
Since Zotero does not move linked PDFs to the trash, use the right click option added by the Delitem addon to delete them (otherwise you would accumulate 'orphan' PDFs in your linked storage that you no longer need).
https://github.com/redleafnew/delitemwithatt
It's important to document all your settings so that you can reproduce them on new devices.
I corrected point 5.3 in the PDF instructions to the one you told me tim820.
I also installed the Delitem addon and works perfectly.
I'm wondering if it is possible to have an automated workflow for saving files to Zotero using the Zotero Conector and then having Zotfile renaming and moving them to Google Drive automatically?