Rename Files Intelligently
Automatically rename files based on their content, dates, or patterns.
IMG_4832.png. Document (1).docx. Untitled-23.pdf.
Your files deserve better names. Claw analyzes content and proposes intelligent renames.
What Youβll Accomplish
- π·οΈ Rename files based on their actual content
- π Add dates to file names automatically
- π Apply consistent naming patterns across folders
- π» Preview all renames before they happen
Step 1: Select Files to Rename
Open Claw and describe what you need:
I have 100 screenshots in my Desktop folder.Rename them based on what's shown in each image.Or be more specific:
Rename all PDFs in Documents to include the document datein the format: YYYY-MM-DD-OriginalName.pdfStep 2: Review the Proposals
Claw shows you every proposed rename side-by-side:
π Proposed Renamesββββββββββββββββββββββββββββββββββββββ
Current Name β Proposed NameββββββββββββββββββββββββββββββββββββββββββIMG_4832.png β Dashboard-Analytics-Chart.pngScreenshot 2025-01-03.png β Login-Page-Redesign-v2.pngUntitled.docx β Q4-Budget-Proposal.docxscan001.pdf β 2025-01-02-Acme-Invoice.pdf
[Approve All] [Review One-by-One] [Cancel]Step 3: Approve, Edit, or Skip
For each file, you can:
| Action | What Happens |
|---|---|
| β Approve | Rename as proposed |
| βοΈ Edit | Modify the proposed name |
| βοΈ Skip | Leave unchanged |
| β Approve All | Accept all remaining |
Naming Patterns
By Content (AI-Powered)
Rename screenshots based on what's visible in the imageUses AI vision to understand image content
By Date
Add the file creation date to all PDFs: YYYY-MM-DD-filename.pdfBy Pattern
Rename invoice PDFs to: Vendor-InvoiceNumber-Date.pdfBy Metadata
Rename photos using their EXIF date: 2025-01-03-IMG_4832.jpgBulk Renaming Examples
| Goal | What to Say |
|---|---|
| Screenshots | βRename screenshots based on their visual contentβ |
| Invoices | βRename to Vendor-Amount-Date formatβ |
| Photos | βUse photo date from metadataβ |
| Documents | βAdd creation date prefixβ |
| Clean up | βRemove spaces and special characters from all filenamesβ |
Safety: The Ghost File Preview
Before any file is renamed, you see a Ghost Preview:
ββββββββββββββββββββββββββββββββββββββββββββ π Current: IMG_4832.png ββ π» Proposed: Dashboard-Chart.png ββ ββ The ghost file shows you exactly what ββ the new name will be before commit. ββ ββ [Approve] [Edit Name] [Skip] ββββββββββββββββββββββββββββββββββββββββββββNothing changes until you approve.
Undo Any Rename
Made a mistake? Every rename is logged:
- Open History in Claw
- Find the rename operation
- Click Undo
The file reverts to its original name instantly.
Tips for Best Results
- Start with a test batch β Try 5-10 files before processing hundreds
- Be specific about format β βUse hyphens, no spaces, lowercaseβ
- Include examples β βLike: Acme-INV001-2025-01-03.pdfβ
Next Steps
- Organize Downloads β Sort files into folders
- Extract PDF Data β Pull data from documents
- Undo History β Learn about the transaction log