📁 文件管理 📖 官方

基于内容的批量文件重命名

根据文件内容智能批量重命名,应用一致的命名规则

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

使用场景

我有数百个文件命名混乱,想根据文件内容和日期统一重命名。

💬

提示词

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

预期结果

Claude 分析每个文件的内容,提取关键信息,应用命名规则,并生成变更报告。支持根据文件扩展名、内容描述或元数据进行智能分类。

💡

使用技巧

  • 提供明确的命名模式(日期、客户、主题等)
  • 可以要求生成重命名前后对照表
  • 对于重要文件,先在副本上测试