python renamer模块_Python smart-image-renamer包_程序模块 - PyPI - Python中文网

使用包含在中的exif数据智能地批量重命名图像的脚本

安装

要安装智能图像重命名程序:

推荐的方法是通过pip。pip install smart-image-renamer

否则像其他python包一样安装。python setup.py install

用法usage: smart-image-renamer.py [-h] -f FORMAT [-s SEQUENCE] [-r] [-i] [-t] [-V]

[-v | -q]

input [input ...]

Smart Image Renamer

Rename your photos in bulk using information stored in EXIF.

positional arguments:

input Absolute path to file or directory

optional arguments:

-h, --help show this help message and exit

-f FORMAT Format of the new file name

-s SEQUENCE Starting sequence number (default: 1)

-r Recursive mode

-i Include hidden files

-t Test mode. Don't apply changes.

-V, --version show program's version number and exit

-v, --verbose

-q, --quiet

Format string for the file name is defined by a mix of custom text and following tags enclosed in {}:

YYYY Year

MM Month

DD Day

hh Hours

mm Minutes

ss Seconds

Seq Sequence number

Artist Artist

Make Camera Make

Model Camera Model

Folder Parent folder of the image file

Examples:

Format String: {YYYY}-{MM}-{DD}-{Folder}-{Seq}

File Name: 2014-05-09-Wedding_Shoot-001.JPEG

2014-05-09-Wedding_Shoot-002.JPEG

Format String: {YYYY}{DD}{MM}_{Model}_Beach_Shoot_{Seq}

File Name: 20140429_PENTAX K-x_Beach_Shoot_001.JPEG

20140429_PENTAX K-x_Beach_Shoot_002.JPEG

欢迎加入QQ群-->: 979659372

推荐PyPI第三方库

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值