📁 File Management Community

Invoice Filename Normalization

Rename messy invoice PDFs into a consistent date-vendor-subject format

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

Scenario

I have a batch of invoice PDFs with inconsistent filenames and need a date-and-vendor naming standard for archiving.

💬

Prompt

Rename all invoice PDFs in ~/Finance/Invoices using this format:
YYYY-MM-DD Vendor - Invoice - Product.pdf
- Extract date and vendor from each file
- Keep the original files in a backup folder
- Produce a before/after rename report

Expected Result

Claude batch-renamed about 50 invoice PDFs into a consistent date-vendor-subject format and produced a before/after report.

💡

Tips

  • Ask for naming examples before execution
  • Flag files with uncertain amounts or currency
📝

Original Post

· 2026-01-19

Example tasks included cleaning up invoice chaos by renaming 50 messy PDFs to a consistent format like YYYY-MM-DD Vendor - Invoice - Product.pdf.