Home Software Hardware Misc About

image renamer

vs. 0.1 (20/03/2024)

This is not a tool to use to bulk rename images on your computer (although it could be used that way).

This is a tool that can automatically rename image files downloaded from the internet into something more meaningful than a generic string of characters, while also automatically choosing an unique file name for each file.

It works by monitoring the directory from what it is executed for files beind saved. If a .png or .webp file is saved on that directory, it will be converted to JPEG and renamed to "Untitled.jpeg". Additionally, any files saved under the name "Untitled.jpeg" will be renamed to "image_nnn.jpg", where 'nnn' is an unique sequential number for that directory, starting at 001.

Click here to download the script. Execute it on a directory you are about to download some images. P. ex., if you save there images named "Untitled.jpeg", "Untitled.jpeg", "af2643dd3434_3.webp", they will be converted to JPEG when needed, and renamed to image_001.jpg, image_002.jpg, image_003.jpg.

Tested on Python 3.10.12 on Mint (Xfce). Distributed under the BSD-3-Clause License.