← 返回
未分类

Cn Batch File Renamer

Batch rename files with customizable patterns. Support prefix, suffix, sequential numbering. Dry-run mode available. Pure Python, no API key required.
批量重命名文件,支持自定义模式、前缀、后缀和顺序编号。提供干运行模式,纯粹 Python 实现,无需 API 密钥。
freedompixels freedompixels 来源
未分类 clawhub v1.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 263
下载
💾 0
安装
2
版本
#latest

概述

Batch File Renamer

Rename multiple files at once with patterns.

Features

  • Add prefix to filenames
  • Add suffix before extension
  • Sequential numbering (001, 002, ...)
  • Dry-run mode (preview without changes)
  • Pure Python, no external dependencies

Usage

# Preview renaming
python3 scripts/batch_rename.py --dir ./photos --prefix "vacation_" --dry-run

# 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 extensions
  • Does not overwrite existing files
  • Use --dry-run first to preview changes

Exit Codes

  • 0: Success
  • 1: Directory not found or permission error

出品: AISoBrand|爱索品牌 — AI搜索优化工具

官网: https://aisobrand.com

免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-06-07 12:54
  • v1.0.0
    2026-05-21 15:43 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

office-efficiency

Feishu Daily Report

freedompixels
飞书日报/周报自动生成:从飞书文档、聊天记录、Bitable等自动汇总生成结构化报告并发送至文档或群聊。触发词:生成日报、写周报、汇总今天工作、整理飞书内容发日报、自动发日报、定时生成报告。关键词:日报、周报、日报生成、自动。
★ 0 📥 1,534
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 689 📥 332,544
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 200 📥 68,539