3.8 KiB
3.8 KiB
title, sidebar_position
| title | sidebar_position |
|---|---|
| stack bib sync-zotero | 24 |
stack bib sync-zotero
Usage: stack bib sync-zotero [OPTIONS]
Push bib items (and their attachments) to the Zotero database.
Zotero holds an exclusive write lock on its SQLite file while
running. By default we stop the 'zotero' compose service for the
duration of the sync and start it again afterward.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --tag TEXT Only sync items matching a │
│ tag. │
│ --type TEXT Only sync one item_type. │
│ --hold-zotero --no-hold Stop the 'zotero' container │
│ during sync so Zotero │
│ releases its exclusive │
│ SQLite lock; restart │
│ afterwards. │
│ [default: hold-zotero] │
│ --dedupe-collection TEXT DEPRECATED — use │
│ --merge-dupes instead, │
│ which merges rather than │
│ deletes. After the push, │
│ remove title+date │
│ duplicates from this Zotero │
│ collection (and from bib, │
│ so the next sync can't │
│ resurrect them). CMS │
│ listservs re-send identical │
│ mail with fresh │
│ Message-IDs, so duplicates │
│ otherwise accumulate — e.g. │
│ 'Cmsupdates'. │
│ --merge-dupes --no-merge-dupes After the push, merge │
│ same-URL duplicate items │
│ library-wide (union │
│ tags/collections/notes/att… │
│ keep-earliest). Supersedes │
│ --dedupe-collection, which │
│ deletes without merging. │
│ [default: no-merge-dupes] │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯