Is there a bulk import of multiple pdf files in a single action available?

Hi there.

I have multiple PDF files in my PC which are not in my zotero library yet. And I am looking for the fastest way to add them. What is your suggestion? Is there any shortcut to avoid adding them one by one?

Thank you very much for reading.
ZT
  • Just select all of them in your computer's file system and drag them into Zotero.
  • Dear bwiernik,

    Thank you very much for your quick response.

    But In this way the PDF files will be added as files not as Journal articles.
    Is there any way to fix it?

  • I am looking for a way which can add multiple PDF files as well as their publication data (at least their names as journal articles). A solution in which I don't have to add bibliography of each file separately.

    Is it available in zotero?
  • If you drag-drop PDFs that are journal articles, then Zotero will create a parent item that is a journal article with all the necessary metadata and attach the PDF file to that parent item. On rare occasions or when the PDF is a scanned (non OCR'ed) document, Zotero cannot pull the correct metadata. In such cases, you will have to make a manual entry which can be somewhat simplified by adding the item using DOI, ISBN, etc.
  • Dear gurdas,

    Thank you very much for your guidance.

    Most of my PDF files are OCR'ed but unfortunately zotero behave all items the same and just insert them as files without any parent item and metadata.

    However, thank you for your comment about DOI, ISBN,.. . It seems there is no way but a manual entry through these codes.
  • It sounds like you may be using an old version of Zotero. Update for metadata to be automatically retrieved. You can also invoke the metadata retrieval yourself by selecting the PDFs in Zotero, right clicking, and choosing Retrieve Metadata for PDFs.
  • Dear bwiernik,

    Many Thanks. Finally, that works.

    My zotero has been updated recently (just yesterday) but it still does not retrieve metadatas automatically. However, I have selected the PDFs in zotero and right clicked them as you commented and it retrieved Metadatas.

    My deepest gratitude to all zotero colleagues,
    ZT
  • Whether metadata is retrieved automatically is controlled by a checkbox in the General pane of the preference window. You can check to see that it is enabled.
  • Dear bwiernik,

    Thank you for your guidance. I am writing this for future development of zotero:

    The box which says "automatically retrieve metadata for PDF files" in the general pane was checked but it did not do anything after dropping a file.
    Perhaps it is because I am running over free volume.

    However, as it is possible to select multiple items and retrieve them at once, it takes few moments and is an easy task.

    Best Wishes,
    ZT
  • Dear all,

    Thank you for your useful answers - I just learned that a recent version of Zotero automatically scans PDFs for metadata - very useful.

    Is there a way to scan several PDF documents for metadata at once? I've already imported a bunch of PDFs in my old version of Zotero, and it would save a lot of time to do so - instead of checking each pdf individually.

    Thank you,

    My
  • Zotero should automatically check for metadata for all attachments if you drag them in at once.
  • Is there some limit for how many PDFs we can try dragging-and-dropping at a time? I tried dragging-and-dropping 3000+ PDFs and it didn't seem to work. (Or perhaps my computer is just not very good.)
  • Well, I have tens of thousands of PDFs. Your extraction method is so good but drag and drop is just not OK. It can handle very little like under 100 at the time and fetching this via gui is not optimal . I'm interested if you can pinpoint the extraction method. I have no experience in JavaScript but I would like to at least rewrite it as Python to make this more robust. I like this.of course writing GUI script might do it but it is not very efficient. There is also an interest to make it 100 % CLI /module based.
  • @j-pj: Not really sure what you mean here. There's no limit to the number of items you can drag and drop, and you can also just as well use "Store Copy of File…" from the New Item menu.
  • I know. It is not in your code. I have tried several filemanagers and virtual machines. It just falls short when you drag many items.
  • Well, again, you don't need to drag and drop. You can just use the standard OS filepicker via "Store Copy of File…".
  • If you have your files organized in folders on your file system, try this add-on:
    https://github.com/retorquere/zotero-folder-import

    The related discussion is here:
    https://forums.zotero.org/discussion/81329/create-zotero-library-using-disk-directory-structure

    (If you're experiencing performance issues, maybe try using it in bunches.)
  • OK. Cool.Thanks. It works much better than JabRef and on github there are similar projects but those do not perform so well. I need to look deeper into this since this extraction procedure really deserves a library/command line utility.
Sign In or Register to comment.