importing a folder w subfolders of .ris-files

I maintain a list of poet debut books. I used to get the weekly list of all publications in Denmark as a PDF from the national registration organisation DBC - and I could search that PDF in the browser, easily find, easily copy entry as comma separated text, and use As Such almost without alterations.

Today I got the sad news that this PDF is no longer being published, but that "all the data is accessible via search function" from the Danish library system's database These search results come as public audience friendly, wordpress clunky, line by line informational, yadayadayada, you get the picture.

Following my search I can download all results one post at a time... as .ris-format, or for RefWorks and EndNoteWeb. I chose .rif, as I had Zotero already. All in all btw. 5-600 posts... With an incredible amount of noise, as I have no need of a database - I just need the data from cells containing data.

I can import .ris-files One At A Time into Zotero...

For the Newbie, please:

- how do I import the whole shebang into Zotero all at once?

week 18
week 19

- how do I export the whole shebang into something line based and sortable? Preferably without the noise of unused cells

year author title publisher pages kat. reg.-date notes
2021 k.krabat my poems GOD 212 86-01 21-10-1 "Poems for all ages."

Thank you, you will be today's best friend, if you can point me in the right direction.

(Im on Mac OSX El Capitan on 17" late 2011 MBP, running the latest Zotero.)

  • edited 25 days ago
    In response to your first question, the nice thing about RIS is that multiple RIS files can be merged simply by concatenating them together. If you're familiar with the Terminal, you can do the following:

    $ cd <drag in the folder containing your RIS files>
    $ for f in **/*.ris; do (cat "${f}"; echo) >> _merged.ris; done

    That should output one file called _merged.ris that contains the contents of all of the RIS files in one, with a newline added after each one (since it looks like the output produced by doesn't have trailing newlines). You can then import that single RIS file.

    That said, the browser connector should support I'll work on that.
  • Thank you for responding so fast.

    But Terminal responds with "bad syntax" - its the $, I believe

    I would use sudo cd... and sudo for f, but when we get to (cat "$f"...) I don't know what to write instead.

    Also, how to export a line based output only with cell containing content?

    best, kk
  • Oh no, no, you don't want to use sudo anything here. The $ is the prompt. Don't paste that part. Leave the rest as is.
  • oh, man, I'm so...

    Well, the import worked. Naturally. Sorry about that.

    Then, can I export a line based output only with cell containing content?

    How does your Chrome plugin work with
Sign In or Register to comment.