🏷️
Batch File Rename
Smart batch renaming with rules and previews
🟡 Caution
⭐⭐ Intermediate
⏱️ 2–5 min
✅ Suitable For: Users who need file cleanup
📦 Requires: Filesystem MCP
📋 📋 One-Click Prompt
@OpenClaw I need you to batch-rename files safely.
Context: I am using openclaw.
Safety rules
- Never overwrite files
- Always show a preview before applying
- Confirm the target folder and the rule
Step 1 — Environment check
- Ensure Filesystem MCP is available (@modelcontextprotocol/server-filesystem)
Step 2 — Collect inputs
Ask me for:
- Target folder path (absolute)
- File filter (e.g., *.png, *.md, all files)
- Rename rule (examples: prefix, suffix, regex, replace, date-based)
Step 3 — Preview
List at least 20 examples in a table:
old_name -> new_name
and ask me to confirm.
Step 4 — Apply
Rename files one by one with progress updates.
Step 5 — Report
Show totals: renamed / skipped / failed and why.
Throughout this workflow, communicate with me in English.
💡 Tip: Click “Copy Prompt”, then paste it into openclaw to start.
🎯 What can this do?
- Batch rename with a clear rule
- Show a preview before applying
- Avoid overwrites by design
⚠️ Risk warning
Renaming changes paths. Always preview first, and back up important folders.