File Batch Processor Master
🎯 Core Features
- 1. Batch File Rename - Multiple naming modes (sequence, date, prefix/suffix, etc.)
- Batch Image Compression - Smart JPEG/PNG compression with quality preservation
- Batch to PDF - One-click conversion of images and text files to PDF
- Auto Categorization - Automatically categorize files by type (documents, images, audio, video, archives)
🚀 Quick Start
Basic Workflow
1. Select folder to process
2. Choose processing functions (can select multiple)
3. Configure parameters (rename rules, compression quality, etc.)
4. Execute processing
5. View results report
## 📁 Directory Structure
file-batch-processor/
├── SKILL.md (current file)
├── scripts/
│ ├── batch_rename.py
│ ├── image_compress.py
│ ├── convert
topdf.py
│ └── auto_organize.py
└── references/
├── naming_patterns.md
├── compression_guide.md
└── file_types.md
``
## 🔧 Feature Details
### 1. Batch File Rename
- **Supported Modes**:
- Sequence mode: file
001.jpg, file002.jpg
- Date mode: 20240302
photo1.jpg
- Prefix/suffix add: backupfile.docx
, file
copy.pdf
- Batch replace: oldname
→ new_name`
2. Batch Image Compression
- - Supported Formats: JPEG, PNG
- Compression Options:
- Quality levels: High (90%), Medium (70%), Low (50%)
- Size adjustment: Original size, 50%, 30%
- Batch processing: Supports 1000+ files
3. Batch to PDF
- - Supported Source Files:
- Image files (JPG, PNG, BMP, etc.)
- Text files (TXT, MD)
- Office documents (requires additional tools)
- 📄 Documents: .doc, .docx, .pdf, .txt, .md
- 🖼️ Images: .jpg, .jpeg, .png, .bmp, .gif
- 🎵 Audio: .mp3, .wav, .aac
- 🎥 Video: .mp4, .avi, .mkv
- 📦 Archives: .zip, .rar, .7z
- 📁 Others: Remaining files
🎨 Skill Icon
- - Recommended icons: Folder/Tool type icons
- Color scheme: Blue tones (professional & reliable) + Green (efficiency boost)
- - ?? Organize large amounts of photos downloaded from phone
- 📊 Process batches of work documents
- 🛒 Shop owners organizing product images
- 🎓 Students organizing study materials
- 💼 Professionals improving office efficiency
⚙️ Technical Implementation
- - Platform: Windows (most compatible)
- Dependencies: Python 3.8+, Pillow, PyPDF2, pdfkit (optional)
- Security: Runs locally, no network requests, no data uploads
📝 Precautions
- - Backup important files before processing
- Large batch processing may take time
- Test with small samples when compressing images
📚 References
- - [namingpatterns.md] - Detailed naming patterns guide
- [compressionguide.md] - Image compression technical guide
- [file_types.md] - File type identification rules
💡 Tip: This skill is designed to be "out-of-the-box" ready, easy for beginners to use, and an essential efficiency tool for professionals, students, and shop owners!
📦 Version Information
- - Current Version: 1.0.0
- Release Date: 2026-03-03
- Release Platform: ClawHub
- Author: lx19840614
📝 Changelog
v1.0.0 (2026-03-03) - Initial Version
- - ✅ Batch file rename (5 modes)
- ✅ Batch image compression (quality/size adjustable)
- ✅ Batch convert to PDF (images/text)
- ✅ Auto file organization (6 categories)
- ✅ Preview mode (--dry-run)
- ✅ Windows optimized
- ✅ Complete documentation (README + video script + promotion plan)
📋 Planned Updates
- - [ ] Chinese font PDF support
- [ ] Batch backup function
- [ ] Progress bar display
- [ ] GUI graphical interface
- [ ] macOS/Linux support
文件批量处理器大师
🎯 核心功能
- 1. 批量文件重命名 - 多种命名模式(序列、日期、前缀/后缀等)
- 批量图片压缩 - 智能JPEG/PNG压缩,保持画质
- 批量转PDF - 一键将图片和文本文件转换为PDF
- 自动分类整理 - 按文件类型自动分类(文档、图片、音频、视频、压缩包)
🚀 快速开始
基本工作流程
1. 选择要处理的文件夹
2. 选择处理功能(可多选)
3. 配置参数(重命名规则、压缩质量等)
4. 执行处理
5. 查看结果报告
📁 目录结构
file-batch-processor/
├── SKILL.md(当前文件)
├── scripts/
│ ├── batch_rename.py
│ ├── image_compress.py
│ ├── converttopdf.py
│ └── auto_organize.py
└── references/
├── naming_patterns.md
├── compression_guide.md
└── file_types.md
🔧 功能详情
1. 批量文件重命名
- 序列模式:file
001.jpg、file002.jpg
- 日期模式:20240302_photo1.jpg
- 添加前缀/后缀:backup
file.docx、filecopy.pdf
- 批量替换:old
name → newname
2. 批量图片压缩
- 质量等级:高(90%)、中(70%)、低(50%)
- 尺寸调整:原始尺寸、50%、30%
- 批量处理:支持1000+文件
3. 批量转PDF
- 图片文件(JPG、PNG、BMP等)
- 文本文件(TXT、MD)
- Office文档(需额外工具)
- 📄 文档:.doc、.docx、.pdf、.txt、.md
- 🖼️ 图片:.jpg、.jpeg、.png、.bmp、.gif
- 🎵 音频:.mp3、.wav、.aac
- 🎥 视频:.mp4、.avi、.mkv
- 📦 压缩包:.zip、.rar、.7z
- 📁 其他:剩余文件
🎨 技能图标
- - 推荐图标:文件夹/工具类图标
- 配色方案:蓝色调(专业可靠)+ 绿色(效率提升)
- - ?? 整理从手机下载的大量照片
- 📊 批量处理工作文档
- 🛒 店主整理商品图片
- 🎓 学生整理学习资料
- 💼 职场人士提升办公效率
⚙️ 技术实现
- - 平台:Windows(兼容性最佳)
- 依赖:Python 3.8+、Pillow、PyPDF2、pdfkit(可选)
- 安全性:本地运行,无网络请求,不上传数据
📝 注意事项
- - 处理前请备份重要文件
- 大批量处理可能需要较长时间
- 压缩图片时建议先用小样本测试
📚 参考资料
- - [namingpatterns.md] - 详细命名模式指南
- [compressionguide.md] - 图片压缩技术指南
- [file_types.md] - 文件类型识别规则
💡 提示:本技能设计为开箱即用,初学者也能轻松上手,是职场人士、学生和店主的必备效率工具!
📦 版本信息
- - 当前版本:1.0.0
- 发布日期:2026-03-03
- 发布平台:ClawHub
- 作者:lx19840614
📝 更新日志
v1.0.0(2026-03-03)- 初始版本
- - ✅ 批量文件重命名(5种模式)
- ✅ 批量图片压缩(质量/尺寸可调)
- ✅ 批量转PDF(图片/文本)
- ✅ 自动文件整理(6个类别)
- ✅ 预览模式(--dry-run)
- ✅ Windows优化
- ✅ 完整文档(README + 视频脚本 + 推广方案)
📋 计划更新
- - [ ] 中文字体PDF支持
- [ ] 批量备份功能
- [ ] 进度条显示
- [ ] GUI图形界面
- [ ] macOS/Linux支持