📁 文件管理 社区

发票文件名规范化

将杂乱的发票 PDF 重命名为统一的日期-供应商-主题格式

★☆☆ 初级 5-10 min 2026年1月19日
📋

使用场景

我有一批发票 PDF,文件名没有规律,需要按日期和供应商统一命名方便归档。

💬

提示词

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

预期结果

Claude 批量重命名约 50 份发票 PDF,统一为日期-供应商-主题格式,并生成前后对照表。

💡

使用技巧

  • 让 Claude 先提出命名规则示例再执行
  • 对金额或币种不确定的文件单独标记
📝

原帖内容

· 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.