8.3. Delete references

The deleteref command accepts one or more reference IDs as its argument to specify the references you want to get rid of. This is quite straightforward if you want to delete one or two references. But what if you have a disjoint list of 17 references, e.g. all publications of an author who was convicted to be fraudulent? A useful strategy to delete such references is to save a query with the getref command to a file and use it as a list of ID values for a subsequent run of deleteref. This way you can verify by inspecting the file that you will delete the correct references. Use the -s ID option to request minimal datasets containing the ID value instead of the citation key in the ID field.

8.3.1. Example

To stick with the example of the fraudulent author, we assume his name is, as in so many examples, John Doe (apologies to all RefDB users with that name).