Updated Edit
On this page
Import Claude Code session data from an external directory into the shared store, remapping recorded project paths and reassigning colliding session UUIDs.
#c import
import session data from an external Claude Code directory
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--dry-run | bool | preview the import operation without writing any session data to disk | |||
--reid | bool | assign new UUIDs to sessions that collide with existing local sessions | |||
--from | str | original project path as recorded in the source session data (repeatable) | |||
--to | str | local directory path that corresponds to the --from path on this machine (repeatable) |
#Arguments
| Name | Required | Description |
|---|---|---|
source | yes | path to the source directory (e.g., /path/to/backup/.claude) |