📁 文件管理 社区

批量文件转换与压缩

一次性完成文档转 PDF、PDF 压缩和图片格式统一

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

使用场景

我有一个混合文件夹,包含 Word 文档、PDF 和图片,希望批量转换并压缩以节省空间。

💬

提示词

In ~/Projects/Archive, do the following:
- Convert all .docx files to PDF
- Compress existing PDFs to reduce size
- Convert images to PNG
- Skip files over 10 MB
- Provide a report with counts and space saved

预期结果

Claude 一次任务完成 21 份 Word 转 PDF、40 份 PDF 压缩(节省约 25% 空间)和 35 张图片转 PNG,并跳过超过 10MB 的文件。

💡

使用技巧

  • 先在副本目录试跑,确认输出格式
  • 保留原始文件以便回滚
📝

原帖内容

· 2026-01-20

In one session, Cowork converted 21 Word documents to PDFs, compressed 40 PDFs (saving about 25% space), and turned 35 images into PNGs. It also skipped files over 10 MB to avoid timeouts.