📁 File Management 📖 Official

Content-Aware Batch File Renaming

Intelligently batch rename files based on content with consistent naming patterns

★☆☆ Beginner 5-10 min January 12, 2026
📋

Scenario

I have hundreds of files with messy names and want to uniformly rename them based on content and date.

💬

Prompt

Rename all files in this folder using this pattern: YYYY-MM-DD_client_topic
- Extract the date from file content or metadata
- Identify the client name from the document
- Summarize the topic in 2-3 words
- Create a report of all changes made

Expected Result

Claude analyzes each file's content, extracts key information, applies naming rules, and generates a change report. Supports intelligent categorization based on file extension, content description, or metadata.

💡

Tips

  • Provide clear naming patterns (date, client, topic, etc.)
  • Can request a before/after comparison table
  • Test on copies first for important files