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.
📁 ファイル管理 コミュニティ
バッチファイル変換と圧縮
文書の 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 超のファイルはスキップ。
💡
ヒント
- • まずコピーで試して出力を確認する
- • 元ファイルを保持してロールバックに備える