Skip to content

Instantly share code, notes, and snippets.

View mtreviso's full-sized avatar

Marcos Treviso mtreviso

View GitHub Profile
@mtreviso
mtreviso / removed_unused_bibs.py
Last active June 27, 2024 11:13 — forked from TomWagg/removed_unused_bibs.py
bib reducer: Reduce and combine multiple .bib files to a single file with only *cited* entries. Works with ACL anthology.bib.
"""
>>> python remove_unused_bibs.py -h
usage: remove_unused_bibs.py [-h] [-b BIB_FILES] [-p PAPER_FILES] [-o OUT_FILE]
Remove unused bibtex entries
options:
-h, --help show this help message and exit
-b BIB_FILES, --bib_files BIB_FILES