Skip to content

Fix: encode all non-alphanumeric chars in Claude Code project paths - #23

Merged
Ryu0118 merged 2 commits into
Ryu0118:mainfrom
jaydensmith:main
Jul 20, 2026
Merged

Fix: encode all non-alphanumeric chars in Claude Code project paths#23
Ryu0118 merged 2 commits into
Ryu0118:mainfrom
jaydensmith:main

Conversation

@jaydensmith

@jaydensmith jaydensmith commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Claude Code keys its session store at ~/.claude/projects/<bucket>/, where <bucket> is the project path with every non-alphanumeric character replaced by -. ctxmv replaced only /. So a project like /Users/me/public_html/site.example.com was written to -Users-me-public_html-site.example.com while Claude reads -Users-me-public-html-site-example-com. Migration reported success, but Claude never saw the imported session.

@Ryu0118
Ryu0118 merged commit d5660a6 into Ryu0118:main Jul 20, 2026
7 checks passed
@Ryu0118

Ryu0118 commented Jul 20, 2026

Copy link
Copy Markdown
Owner

@jaydensmith Thank you for your contribution! This patch has been released in https://github.com/Ryu0118/ctxmv/releases/tag/0.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants