3

I want to add a keyword to many entries simultaneously in JabRef. How can I do this? Selecting the entries and writing the keyword in the Keywords textbox of JabRef only adds the keyword to the first selected entry.

I'll also accept a method that modifies directly the .bib file, maybe through some terminal command. However the disadvantage with that is that the terminal command cannot know which entries I have selected in JabRef, so that's not very user-friendly. Any ideas appreciated.

a06e
  • 1,098
  • You could use sed or gawk to modify the .bib file. I don't use JabRef so I've no idea about that. – cfr Aug 16 '15 at 21:26
  • I don't think that JabRef has this capability. I suggest going to JabRef's feature request page –  Aug 16 '15 at 21:31

2 Answers2

2

Select the entries of interest and choose Search > Set/clear/rename fields:

enter image description here

Now change the Keyword field for all "Selected entries":

enter image description here

Werner
  • 603,163
  • This is close to what I want (+1), but it doesn't solve my problem completely. Is there a way to add a new keyword to the selected entries, without deleting the old keywords those entries had? – a06e Aug 17 '15 at 14:07
  • @becko: Try unchecking the "Overwrite existing field values" option. – Werner Aug 17 '15 at 14:26
  • Tried that. Doesn't work. If the field is empty, it adds the keyword, but if the entry has some keywords already, it does nothing. – a06e Aug 17 '15 at 14:27
2

First select (highlight) all the entries you want the multiple keywords added |JabRef2.10|>Edit>Manage Keywords

enter image description here

After typing in your comma delimited list press Add OK. All done :-)

enter image description here

It only adds the extra keywords you have added to all entries (not the complete list).

The only issue I have found (I don't know how it works and don't use it) is that if the keyword exists it is duplicated in those entries, as shown below. enter image description here

Mensch
  • 65,388
Jethro Belle
  • 138
  • 6
  • It is possible. The trick is to select (unlike the example above shows) "Display Keywords appear in ALL entries" and then add the keywords one wants to add in the list. Hit add, which shows them in the big field and then OK, which enters them. If the keyword is already present, it will be duplicated... – user855443 Dec 04 '18 at 15:09