Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 2.87 KB

README.md

File metadata and controls

66 lines (55 loc) · 2.87 KB

ZoteroToPapis

Stable Dev Build Status Aqua

Migrate Zotero+BetterBibtex database to Papis.

Installation

You need a working Julia installation. I recommend having a dedicated environment that you can throw when you are done.

julia --project=@ZoteroToPapis -e 'import Pkg; Pkg.add("https://github.com/Klafyvel/ZoteroToPapis.jl")'

If you're gonna use the script often, you may add an alias:

alias ZoteroToPapis="julia --project=@ZoteroToPapis -e 'using ZoteroToPapis; exit(ZoteroToPapis.main(ARGS))' --"

If you are using Julia 1.12 or later, it can simply be

alias ZoteroToPapis="julia --project=@ZoteroToPapis -m ZoteroToPapis"

Usage

usage: ZoteroToPapis [--zotero-db ZOTERO-DB]
                     [--better-bibtex-db BETTER-BIBTEX-DB]
                     [--zotero-storage ZOTERO-STORAGE]
                     [--papis-root PAPIS-ROOT] [--keep-external]
                     [--no-progress] [--no-papis-update]
                     [--no-papis-doctor] [--no-duplication-mitigation]
                     [--version] [-h]

Migrate Zotero+BetterBibtex database to Papis.

optional arguments:
  --zotero-db ZOTERO-DB
                        Path of the Zotero database. (default:
                        "~/Zotero/zotero.sqlite")
  --better-bibtex-db BETTER-BIBTEX-DB
                        Path of the Better Bibtex database. (default:
                        "~/Zotero/better-bibtex.sqlite")
  --zotero-storage ZOTERO-STORAGE
                        Path of the Zotero storage. (default:
                        "~/Zotero/storage")
  --papis-root PAPIS-ROOT
                        Path of the Papis root. (default:
                        "XDG_DOCUMENTS_DIR/papers")
  --keep-external       If enabled, keep files not in Zotero storage
                        where they are.
  --no-progress         If set, disable progress display.
  --no-papis-update     If set, disable papis update after import.
  --no-papis-doctor     If set, disable papis doctor after import (the
                        doctor requires papis update).
  --no-duplication-mitigation
                        If set, disable the mitigation measures when
                        trying to import a duplicate.
  --version             show version information and exit
  -h, --help            show this help message and exit

Please, report bugs at https://github.com/klafyvel/ZoteroToPapis.jl.