# `mix llm_db.history.sync`
[🔗](https://github.com/agentjido/llmdb/blob/main/lib/mix/tasks/llm_db.history.sync.ex#L1)

Downloads the published history bundle from the snapshot store and extracts it
into the local history directory.

## Usage

    mix llm_db.history.sync
    mix llm_db.history.sync --output-dir priv/llm_db/history
    mix llm_db.history.sync --repo agentjido/llmdb

## Options

- `--output-dir` - Directory for generated history files (default: `priv/llm_db/history`)
- `--repo` - GitHub repository slug (default: `agentjido/llmdb`)
- `--index-tag` - Shared snapshot-store compatibility option
- `--cache-dir` - Local snapshot cache directory

---

*Consult [api-reference.md](api-reference.md) for complete listing*
