日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

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

發布時間:2023/12/29 python 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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第三方庫

總結

以上是生活随笔為你收集整理的python renamer模块_Python smart-image-renamer包_程序模块 - PyPI - Python中文网的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。