Browser - search & replace - Metadata iptc / exif

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

mokati
Posts: 20
Joined: Wed Dec 13, 2023 1:50 pm

Browser - search & replace - Metadata iptc / exif

Post by mokati »

XnViewMP 1.8.3 64bit
Windows10 (24H2),

Hello,

is there a function to search for a specific meta text in selected images and replace it with a new text?
= search & replace

Example:
I want to replace the entry "Text-2" in all images with "Text-2-new".
Unbenannt.JPG

Proposal for a new funktion: "search & replace"
zo.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
michel038
XnThusiast
Posts: 1409
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Browser - search & replace - Metadata iptc / exif

Post by michel038 »

A workaround :
Create > Filse list
Select these fields :
{Directory}{Filename With Ext},{IPTC:Caption}
use a comma as separator
Generate the text file
Use search and replace in a text editor ; save
Change the header : Filename,IPTC:Caption
Change the extension : csv instead of txt

Use Exiftool to import this file into your photos . This step is a bit tricky, I don't know if i'll have time to get the right syntax for exiftool these days

If your captions contain commas, you'll have to use another delimiter (option -csvDelim ";" for semicolon )