Feature request: allow multiple bibtex/ris files to be selected for import
When importing items from bib files, I am unable to select multiple files to be imported sequentially. This would be fantastic, since I have numerous (i.e. dozens) of bib files that need to be imported as their own collections. This currently requires multiple user actions, and I don't see why this is truly necessary.
cat *.bib > combined.bibtex
(Mac, Linux) ortype *.bib > combined.bibtex
(Windows), then import the combined file.The script would look something like making sure to check the
async
checkbox if you're using the first option.var bibfiles = [
'absolute path to.bib',
'absolute path to other.bib',
];
for (let file of bibfiles) {
await Zotero_File_Interface.importFile({ file, createNewCollection: true });
}
(You also don't ever really need to check the "async" checkbox manually — that's checked automatically when there's an "await" in the code.)