How to export Codex

Path

~/.codex/sessions/**/rollout-*.jsonl

Command

ls -t ~/.codex/sessions/**/rollout-*.jsonl | head

Codex has no export command. Pick the rollout-*.jsonl for the session.

Drop the file on the home page. Bytes stay in the tab. Refresh forgets it. Ctrl+F is search.