rename Verified for current stable LTS

Rename Command: Capitalize First Letter Of Words

Use for capitalize first letter of words with Rename. Exact CLI syntax to capitalize first letter of words using Rename.

When to use this: Use for capitalize first letter of words with Rename.

Command Syntax

rename -f 's/\b(\w)/\U$1/g' <*.txt>

Live Command Builder

Final Command

rename -f 's/\b(\w)/\U$1/g' <*.txt>

Command Breakdown

-f
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to capitalize first letter of words using Rename.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Rename directory