重命名Beep文件

rename-beep-files的Python项目详细描述


重命名蜂鸣文件

此脚本用于重命名文件夹中的所有文件。
实际上,它用指定的字符(char)替换每个文件基名称中目标字符串(target)的所有实例。在

GitHub release (latest by date)PyPIPyPI - Python VersionGitHub stars

默认值为:

  • {target={cd3}
  • char=(空格字符)

这是一个非常简单的工具,但是当从Beep site直接从文件夹下载zip文件时非常有用。但它的用途可以扩展。在

说明书

安装脚本。在

pip install rename-beep-files

在终端使用它

^{pr2}$

您可以包括几个选项:

  • 递归的
  • 目标
  • 字符
  • 文件夹路径
$ rename-beep-files -h   
usage: rename-beep-files [-h][-r][-t TARGET][-c CHAR][paths [paths ...]]

Process renames all the file into the target directory.

positional arguments:
  paths                 Specify all the folders in which execute the renaming

optional arguments:
  -h, --help            show this help message and exit
  -r, --recursive       Execute the rename action recursively into all
                        subdirectories of targeted folder
  -t TARGET, --target TARGET
                        Specify the character to replace
  -c CHAR, --char CHAR  Specify the character with which you want to replace

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Midlet即使按下设备的“剪切”按钮也不能关闭   JavaSpring环境。getProperty未解析   用Hibernate在Java中实现序列   具有重复键和文件写入的java映射   java显示控制台输出到JavaFXML应用程序中的TextArea   java Cucumber在编译为时无法在类路径上找到功能文件。战争   java过滤器中的servlet问题   安卓中消息和字符串之间的java转换?   java Apache POI读取单元(下午12:35:00)时间值返回1899年12月31日   Java游戏中的碰撞检测?   JSF2.0中的JavajQuery   java在setValue之后使用不同的值   java如何修复可选文件的StackOverflow错误?   如何在不使用服务器设置的情况下使用java从Outlook mail下载附件?   YAxis上Java BoxLayout中单个字符的摆动对齐偏离中心