Batch rename destination folder based on image(attribute)

Tóth Csaba ignis at domen.hu
Tue Oct 8 09:23:07 BST 2024


Hi!

I have a lots of image and its folder (albums) structure like:

group#1
+-Camera(model)#1
|  +-batch number (first 3 digit of image number)
|  +-batch number (first 3 digit of image number)
+-Camera(model)#2
    +-batch number (first 3 digit of image number)
    +-batch number (first 3 digit of image number)
group#2
+-Camera(model)#1
|  +-batch number (first 3 digit of image number)
|  +-batch number (first 3 digit of image number)
+-Camera(model)#2
    +-batch number (first 3 digit of image number)
    +-batch number (first 3 digit of image number)

All image name have a prefix, and a 6 digit number. This numbering start 
for each camera model (I have a script which can move the image based on 
the numbers). I'd like to handle all image via batch tool and I'd like 
to keep the directory structure.

I can handle the groups (with select by color), the batch numbers (I 
have script for it), the problem is the camera, there is no enough color 
for each camera-group pair, I dont now how to add all image from lots of 
album. My idea to put the converted images into folders based on the 
camera. But in the file name options I cant give a folder, and the 
destination I cant give the conditional folders.

My plan B is to put the camera into the file name, and change my moving 
script to remove it.

Thanx

Ignis



More information about the Digikam-users mailing list