Batch inserting an article

Started by ruimartinho, January 30, 2021, 06:41:21 AM

Previous topic - Next topic

ruimartinho

Hello.

I am a newbie, and so far just installed the GUI Exiftool, and played a little with it.

What i want  to achieve is:

Insert a long article, into the Description fieldthat is inside a file article.txt, in all image files in a given directory.

The fields,  title and subject would also receive the same short "phrase", the article title.

Is this possible to do with the Exiftool command line?


Phil Harvey

Quote from: ruimartinho on January 30, 2021, 06:41:21 AM
Insert a long article, into the Description fieldthat is inside a file article.txt, in all image files in a given directory.

The fields,  title and subject would also receive the same short "phrase", the article title.

exiftool "-description<=article.txt" "-title=A short phrase" "-subject=A short phrase" DIR

- 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 ($).