Cn Batch File Renamer
v1.0.0Batch rename files with customizable patterns. Support prefix, suffix, sequential numbering. Dry-运行 mode avAIlable. Pure Python, no API key required.
运行时依赖
版本
Exit Codes
安装命令
点击复制本土化适配说明
Cn Batch File Renamer 安装说明: 安装命令:["openclaw skills install cn-batch-file-renamer"] 该技能用于国内通用相关操作,可能需要相应的平台账号或API密钥
技能文档
Batch File Renamer
Rename multiple files at once with patterns.
Features 添加 prefix to filenames 添加 suffix before 扩展 Sequential numbering (001, 002, ...) Dry-运行 mode (preview without changes) Pure Python, no external dependencies Usage # Preview renaming python3 scripts/batch_rename.py --dir ./photos --prefix "vacation_" --dry-运行
# Actually rename python3 scripts/batch_rename.py --dir ./photos --prefix "vacation_"
Examples
Rename files in a directory:
photo.jpg → vacation_001.jpg image.png → vacation_002.png pic.gif → vacation_003.gif Notes Preserves file 扩展s Does not overwrite existing files Use --dry-运行 first to preview changes Exit Codes 0: 成功 1: Directory not found or 权限 error