Copy the "title" of an image in the "keywords"

Started by teddybox, August 02, 2022, 07:39:40 PM

Previous topic - Next topic

teddybox

Hi there,
I am new, and especially beginner in ExifTool.

I come here because I need your help for an action that would help me enormously.

I have a batch of around 5500 photos. In these photos, there is the name of the people visible on them registered in the properties of the file, in the "title" field.

I would like to copy - paste for each file the "title" field in the "keywords" field.

I'm strongly crossing my fingers that this is possible, without me having to open and do this manually on 5500 photos.

Hoping you can help me with this task.

Wishing you a good day.

Capture d’écran 2022-08-03 013901.png


Phil Harvey

This is certainly possible.  The command could look something like this:

exiftool "-subject<title" -sep ";" DIR
This will split the Title into separate keywords at the semicolons and write them to XMP Subject.  Reading FAQs 3 and 17 may help if you have any questions.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

teddybox

Hello,
And thank you for your quick response.

I tested, and it's exactly what I needed  :)

Thank you again for your help,
And have a nice day :)