Batch renaming with ZotFile does not work
Hey all,
I have imported my whole library (930 documents) from Mendeley to Zotero. The first step worked fine, and all documents are there, including all folders.
All files are in Zotero as linked files, refering to the original Mendeley folder. I want to move all PDFs inside the Zotero data base, which I have set up with WebDAV.
I can right-click a file and select Manage Attachments -> Rename Attachments, which renames the file and stores it in the Zotero data base. However, when I select multiple files and do this, only the first file gets renamed and moved, and nothing happens to the others.
I hope Zotero is able to batch import like this, because I do not feel like doing it manually for nearly a thousand files. Please help.
I have imported my whole library (930 documents) from Mendeley to Zotero. The first step worked fine, and all documents are there, including all folders.
All files are in Zotero as linked files, refering to the original Mendeley folder. I want to move all PDFs inside the Zotero data base, which I have set up with WebDAV.
I can right-click a file and select Manage Attachments -> Rename Attachments, which renames the file and stores it in the Zotero data base. However, when I select multiple files and do this, only the first file gets renamed and moved, and nothing happens to the others.
I hope Zotero is able to batch import like this, because I do not feel like doing it manually for nearly a thousand files. Please help.
Edit: same thing happens when Mendeley is at the default location.
If you no longer want to do that, and want to store the files within the Zotero data directory and have Zotero manage and sync them, ZotFile may be able to convert them for you. I don't know the details of that, but someone else should be able to help. I just wanted to make sure that that's what you wanted to do and to explain the behavior you're seeing during the import.
When I import from Mendeley in Zotero, all files are linked files, and "Show File" directs me to the "Mendeley Desktop" folder. Only when I use Zotero's "Rename Attachment" function (from ZotFile), the actual files get imported into Zotero's data base.
So what you are saying does not happen in my Zotero.
If you choose to store your files elsewhere on disk — outside the data directory — Zotero imports them as linked files, because that's the closest equivalent in Zotero.
Still, Zotero creates links to the original Mendeley locations (so, this time, inside the "Downloaded" folder).
And if I use ZotFile's rename function on multiple files, it still only renames the first one. So what you were saying (If Mendeley files are stored in "Downloaded", Zotero imports the PDFs to its own database), does not happen in my case.
If the former, what’s the full path to your Mendeley data directory? (You can X out your username.)
(Just to confirm, when you go to do the import with that folder named as it is now, you only get a file option and need to go select the Mendeley database manually, right? You don't get a "Mendeley" option when you first go to File → "Import…"?)
Using the latest official build on a different computer with "Mendeley Ltd" without the dot did not. I do not know if the beta would work with a folder with the dot (Ltd.).
We'd have to look at a Debug ID from the other computer to debug that one, but to clarify, you don't want to import on multiple computers if you're planning to use Zotero sync. You'll just end up with duplicates of everything that way.
I cleaned my entire Zotero library before importing, and, after import, set up sync with my own WebDAV directory. That worked out great, so I am now fully moved over to Zotero.
Thank you so much for your help. I could not have done it without you.