edtechhub / zotero-cli

Commandline interface for Zotero
https://github.com/edtechhub/zotero-cli/projects/1
13 stars 3 forks source link

Zotero.dump(itemID[, filename, path]) #24

Open retorquere opened 5 years ago

retorquere commented 5 years ago

A convenient wrapper around Zotero.file(). Writes an attachment to disk using the optional path and filename. If neither are supplied, the file is written to the current working directory, and a Zotero.item() call is first made to determine the attachment filename. No error checking is done regarding the path. If successful, the full path including the file name is returned.

bjohas commented 5 years ago

This would be good to have.

what happens if the item has more than one file attachment?

retorquere commented 5 years ago

You tell me.