MicrostockGroup

Microstock Photography Forum - General => General Stock Discussion => Topic started by: Kamran on October 29, 2014, 06:23

Title: Batch find replace text in IPTC metada info
Post by: Kamran on October 29, 2014, 06:23
I have to replace word "drawing" with word illustration which is embed/saved in my 500+ images. Doing manually in bridge is very time consuming and tedious job. I search net very hard to find any IPTC metadata edit tool which can do following task but fail to find any such tool.

1. find and replace text in title, description and keyword in IPTC data of image
2. Can search in multiple folders
3. batch process all files

Most of the metadata edit tool are working on one image at a time.  Also tried some hex editors which can find replace text in one file at a time.  Bridge can find images with specified text but there is not command or option for replacing such text.

Software namely far works great with text file. I tried it on some dummy jpg and it has successfully replaced string but also corrupt these image header, making these images useless

Thanks
Title: Re: Batch find replace text in IPTC metada info
Post by: Lightrecorder on October 29, 2014, 06:38
For keywords:

Select all images, click properties, click details, delete drawing, type illustration, save.

Otherwise select all in Bridge, delete drawing, type illustration, save

Otherwise, purchase Lightroom, select all images, delete drawing, type illustration, save

Title: Re: Batch find replace text in IPTC metada info
Post by: Kamran on October 29, 2014, 07:59
Thanks Lightrecorder for your reply. My images are save in different folders.  I have copied some of them to temp folder and in bridge selected them all, clicked on file info. Keywords are editable but description and title text boxes showing text "multiple values". My description are different but all has drawing instead of illustration, which I want to replace. 

Choosing properties > detail from Windows explorer also showing multiple value of title and description. My main concern is not keyword but to replace word in description field.
Title: Re: Batch find replace text in IPTC metada info
Post by: cascoly on October 29, 2014, 11:52
For keywords:

 purchase Lightroom, select all images, delete drawing, type illustration, save

that will only work if all the keywords are the same -- otherwise it will show '[mixed] when you select all.  you can edit one image then sync to the others, but again, will result in same tags for all
Title: Re: Batch find replace text in IPTC metada info
Post by: Lightrecorder on October 29, 2014, 12:46
For keywords:

 purchase Lightroom, select all images, delete drawing, type illustration, save

that will only work if all the keywords are the same -- otherwise it will sow '[mixed] when you select all.  you can edit one image then sync to the others, but again, will result in same tags for all
Actually not the case. In lightroom it will show an asterisk for keywords not used in all images. It wont show mixed at all. Only in title and description.
Title: Re: Batch find replace text in IPTC metada info
Post by: Uncle Pete on October 30, 2014, 15:04
This might be useful, I don't use the Adobe for keywording I use Breeze Browser Pro.

http://www.ps-scripts.com/bb/viewtopic.php?f=19&t=2364&sid=fdc3c2a5db9308f67024e0391a08d904 (http://www.ps-scripts.com/bb/viewtopic.php?f=19&t=2364&sid=fdc3c2a5db9308f67024e0391a08d904)

Write back if it works!  :)
Title: Re: Batch find replace text in IPTC metada info
Post by: fotorob on October 30, 2014, 16:07
I use the script for Adobe Bridge that Uncle Petes suggested for a while and I love it.

However, it only changes words in the keywords, NOT in the title or description.

But it works well with different sets of keywords.
Title: Re: Batch find replace text in IPTC metada info
Post by: Kamran on October 31, 2014, 01:02
This might be useful, I don't use the Adobe for keywording I use Breeze Browser Pro.

[url]http://www.ps-scripts.com/bb/viewtopic.php?f=19&t=2364&sid=fdc3c2a5db9308f67024e0391a08d904[/url] ([url]http://www.ps-scripts.com/bb/viewtopic.php?f=19&t=2364&sid=fdc3c2a5db9308f67024e0391a08d904[/url])

Write back if it works!  :)


Thanks Uncle Pete for great script link. It can add and replace keyword without any problem. I also have to replace text in description. Another problem is that length of find and replace words are not equal. I have change word drawing to illustration in hex editor, which corrupt and remove all text from description field. May be due to complexity of finding and replacing text in xmp data, bridge has only finding text but can't replace them.  Anyway I am still searching for solution.