I’m trying to export entries from a bib file that match a particular group to another bib file. I’m trying this:
jabref -n --exportMatches 'groups="export"',export.bib,bib test.bib
to export the export category to a separate file.
Here’s my example input file test.bib
@Article{Shmoe2000,
author = {Joe Shmoe},
journal = {J. B. S.},
title = {Random topic},
year = {2000},
groups = {export},
}
@Article{Doe2002,
author = {Jone Doe},
journal = {Sciency},
title = {Stuff},
year = {2002},
}
@Comment{jabref-meta: databaseType:bibtex;}
@Comment{jabref-meta: grouping:
0 AllEntriesGroup:;
1 StaticGroup:export\;0\;1\;0x8a8a8aff\;\;\;;
}
When I run the command the output file is not a bib file but is an html file. How do I create a bibtex output file? I can do it from the GUI, but I want a command line version that I can run automatically. I’m using Jabref 5.9.