Welcome,
Guest
. Please
login
or
register
.
May 20, 2013, 10:11:30 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Jan 9, 2012
John Beardsworth's new Lightroom site
Lightroom Solutions
27960
Posts in
5113
Topics by
2914
Members
Latest Member:
imthedamstar
The DAM Forum
Software Discussions
Lightroom
Search and replace text in metadata
« previous
next »
Pages:
[
1
]
2
Author
Topic: Search and replace text in metadata (Read 5538 times)
johnbeardy
Administrator
Hero Member
Posts: 1813
Search and replace text in metadata
«
on:
June 01, 2009, 07:15:44 AM »
Another plug-in, this one searches the metadata for text and replaces it -
more here
.
John
Logged
Fredrik_Norrsell
Newbie
Posts: 38
Re: Search and replace text in metadata
«
Reply #1 on:
June 13, 2009, 10:23:39 PM »
Thanks John,
It works great. This is going to save me from doing the round trip to iview for appending text.
Fredrik
Logged
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: Search and replace text in metadata
«
Reply #2 on:
June 14, 2009, 02:09:16 AM »
Glad to hear it, Fredrik. Hope you noticed I updated it the other day, so it now previews the results.
John
Logged
markpirozzi
Full Member
Posts: 179
Re: Search and replace text in metadata
«
Reply #3 on:
June 15, 2009, 05:29:15 AM »
Does anyone know how to write the filename to the Title field from within LR? (I know you could do it outside of LR and then read metadata from file.)
Mark
Logged
Mac OSX 10.7, 2009 MacPro
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: Search and replace text in metadata
«
Reply #4 on:
June 15, 2009, 05:55:08 AM »
It's also something that can be done with the SDK. Tim Armes LRTransporter can already do this, and a plug-in that I've been writing (user definable custom fields) also includes such a feature. It would be relatively easy for me to peel off and include within my search and replace tool....
John
Logged
markpirozzi
Full Member
Posts: 179
Re: Search and replace text in metadata
«
Reply #5 on:
June 15, 2009, 06:16:08 AM »
John
I have a situation where I use the same IIP metadata preset for all my cameras but back in March a weird thing happened concerning the files of just one of the cameras - Adobe products can't see the metadata. It's there and the same preset is used on the files of other cameras. I've been writing the filename, via Bridge, to the files that will be imported into LR prior to importing into LR. And of course this LR function would be useful after importing photos that are not mine.
Mark
Logged
Mac OSX 10.7, 2009 MacPro
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: Search and replace text in metadata
«
Reply #6 on:
June 15, 2009, 06:20:40 AM »
OK, check out version 1.0.3 of the plugin (same URL as above).
It now includes a transfer function that copies the context of one field to another - so it will do a filename to title. It's pretty crude right now. I'd like to shorten the list of source fields, and also add an append as suffix / prefix option.
Does this fix the issue?
John
Logged
markpirozzi
Full Member
Posts: 179
Re: Search and replace text in metadata
«
Reply #7 on:
June 15, 2009, 07:42:51 AM »
John,
LR Plugin Manager doesn't recognize the S&R Text download - there's no plugin file inside the folder - do I install some other way?
Mark
Logged
Mac OSX 10.7, 2009 MacPro
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: Search and replace text in metadata
«
Reply #8 on:
June 15, 2009, 08:02:39 AM »
Sorry, Mark, that was my mistake. You can either download the fixed version, or change the name of the folder to BeardyReplace.lrplugin.
John
Logged
markpirozzi
Full Member
Posts: 179
Re: Search and replace text in metadata
«
Reply #9 on:
June 15, 2009, 08:50:55 AM »
Wow....works great on transferring Filename to Title.
You say this version is rough which means you may tweak it in the future. Having your settings stick when you reopen the plugin would be useful. A Reset button could be provided to get back to the default. Not sure if all this is possible with this type software/language.
Thanks, Mark
Logged
Mac OSX 10.7, 2009 MacPro
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: Search and replace text in metadata
«
Reply #10 on:
June 15, 2009, 09:03:36 AM »
I've already updated it and ironed out the aspects I thought were too rough. It's now at 1.0.4.
I rather wish I'd had the time / made the effort a year ago, but I'm almost certain your suggestion can be done (in fact Tim Armes' similar LRTransporter tool does this already). I'll start off by saving the last used target and source fields....
John
Logged
markpirozzi
Full Member
Posts: 179
Re: Search and replace text in metadata
«
Reply #11 on:
June 15, 2009, 10:07:52 AM »
Quote from: johnbeardy on June 15, 2009, 09:03:36 AM
I'll start off by saving the last used target and source fields....
Saving the last used fields is where the real time savings is. The Reset button idea is only useful if someone was tied to the default for some reason, however there are no tricky settings that I can see.
I did notice the Search + replace function can have the unintended consequence of renaming the extension part of the Filename when renaming the other part - this wouldn't happen very often but the user needs watch out for this - the preview comes in real handy for checking on this.
Thanks, Mark
Logged
Mac OSX 10.7, 2009 MacPro
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: Search and replace text in metadata
«
Reply #12 on:
June 15, 2009, 10:39:06 AM »
I've got the last settings working OK (not yet uploaded) and I think I'll leave it at that. Glad you like the preview feature. I had been struggling to learn Lua and only recently decided to force myself to have a real go at it, but that preview mechanism really felt like I was achieving lift off.
If you put incorrect data into a field, it's worth knowing that Lightroom's SDK has one very clever feature that most other scripting environments ignore - code-driven changes to field values can be undone by the user. While saying that, it's also worth knowing that I may have found a bug where undo fails to restore previous data in the title field. Other fields are OK.
John
Logged
markpirozzi
Full Member
Posts: 179
Re: Search and replace text in metadata
«
Reply #13 on:
June 15, 2009, 11:03:48 AM »
John,
The preview is a very valuable feature in this useful plug-in. I think it's a necessity to have a preview when you start renaming/replacing text in more than a few files. Your time spent providing a preview function is appreciated.
Mark
Logged
Mac OSX 10.7, 2009 MacPro
jimHere
Newbie
Posts: 49
born in the 20th Century
Re: Search and replace text in metadata
«
Reply #14 on:
June 16, 2009, 08:11:04 AM »
Does "BeardyReplace.lrplugin" go in the Modules folder?
-- Jim
Logged
Pages:
[
1
]
2
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> DAM Workshops
=> Comments about the book
=> General Discussion
=> Photo Blogs
=> GPS/ Geotagging
=> dpBestflow.org Discussions
-----------------------------
DAM Useful Stuff
-----------------------------
=> DAMuseful Video training
=> DAMuseful Software
=> DAM Useful CS3 Beta Products
-----------------------------
Software Discussions
-----------------------------
=> RAW File Converters
=> Lightroom
=> Choosing Software/Other DAM Applications
=> Aperture
=> Bridge/ Camera Raw
=> Media Pro & Expression Media
=> iView MediaPro
=> ImageIngester and ImageVerifier
=> idImager
=> Import From Camera
=> Scripting
-----------------------------
Workflow Discussions
-----------------------------
=> Multi-User Configurations
=> High Volume
=> Stock Photography
=> Wedding Workflow
=> Tethered Shooting
-----------------------------
DAM Stuff
-----------------------------
=> Loss and Recovery
=> Keywords and Controlled Vocabulary
=> Naming Issues
=> Migration Issues
=> Scans and Camera Scans
=> DNG
=> Software Discussions
=> Hardware Discussions
=> Backup Strategies and Tools
=> Data Validation
Loading...