Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

cp and mv are recognised as tee is, whatever their case or .exe suffix

Claude Code now recognises cp and mv in shell commands regardless of letter case or a .exe ending, as it already did for tee

You'll notice Improvements
JSON All of v2.1.321
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.321,
ImprovementsSection of the release

Unclear Which checks rely on this matching for cp and mv is not settled.

What

When Claude Code looks at a shell command, it tidies the command name before matching it, ignoring letter case and a trailing .exe. This used to apply only to tee. It now also applies to cp (copy files) and mv (move files), so CP, cp.exe and cp are treated alike.

Why

This likely affects how cp and mv are matched in permission or safety checks, so a different spelling of the command is not treated as a different command.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich checks rely on this matching for cp and mv is not settled.

See this entry in the whole of v2.1.321 →

Feedback