2026-04-21 15:40:07 +00:00
|
|
|
# /lp-selection-sync
|
|
|
|
|
|
2026-04-22 17:44:13 +00:00
|
|
|
同步 Zotero Better BibTeX JSON 导出到 library-records。
|
2026-04-21 15:40:07 +00:00
|
|
|
|
2026-04-22 17:44:13 +00:00
|
|
|
## Command
|
|
|
|
|
|
2026-04-23 03:40:24 +00:00
|
|
|
```bash
|
|
|
|
|
paperforge selection-sync
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 说明
|
|
|
|
|
|
|
|
|
|
`paperforge selection-sync` 会自动读取 `paperforge.json` 定位 exports 目录和 control 目录。
|
|
|
|
|
如需使用 Python 直接调用(备选方式):
|
2026-04-21 15:40:07 +00:00
|
|
|
|
|
|
|
|
```bash
|
2026-04-23 03:40:24 +00:00
|
|
|
python $(paperforge paths --json | python -c "import json,sys; print(json.load(sys.stdin)['worker_script'])") --vault . selection-sync
|
2026-04-22 17:44:13 +00:00
|
|
|
```
|