Skip to main content
areohbee
Legend
June 29, 2010
Question

Photo renaming?

  • June 29, 2010
  • 1 reply
  • 944 views

It appears setRawMetadata does not support photo path - i.e. no way to rename or move a photo, right? - Anybody know of a work-around that might aid photo directory restructuring and/or photo file renaming plugin?

Rob

This topic has been closed for replies.

1 reply

JW Stephenson
Inspiring
June 29, 2010

Rob,

Moving, Deleting and Renaming can all be done programatically outside of LR with or withour LR file utilities; however, none of these will show the changes inside the catalog.  Very frustrating but I can't find a workaround that doesn't require re-synching the folders which isn't real practicle.  Maybe someone has found a way to fool LR into these tasks inside the catalog as well as on the operating system - I am all ears ...

Jeff

areohbee
areohbeeAuthor
Legend
June 29, 2010

Jeff,

Using catalog:addPhoto you could semi-automate re-adding the renamed files - moving the old files to a collection so the user can delete them (there is no catalog:removePhoto method). Just doing that much would suffer the same problem as doing it manually since the ratings and labels, etc. don't carry over, however as long as the plugin was willing to read whatever it can from the originals (stuff not in xmp that is) and write it to the new targets, the only thing I can think of that would be lost is the edit history list (and with the correct marketing skills - that could be billed as a feature ).

Although a bit klugy, this may be perfectly acceptable to those facing more grizzly prospects...

Wha'dya'think?

Rob

JW Stephenson
Inspiring
June 30, 2010

I use catalog:addPhoto() frequently for interim scan processing for noise removal and metadata stuffing.  I think what you are saying is that:

1.     An export to Original routine could be written for a group of images;

2.     After the export routine makes a copy, but before the copy is added to the catalog, items such as capture time, make and model (not available for writing in LR) can be added by something like exiftool;

3.     The original image is added to a collection called "DeleteWheneverYouGetaMoment";

4.     The copy is added to the catalog; and

5.     Whenever you get a moment you can select the collection and delete from catalog and from disk.

Just doing that much would suffer the same problem as doing it manually since the ratings and labels, etc. don't carry over, however as long as the plugin was willing to read whatever it can from the originals (stuff not in xmp that is) and write it to the new targets, the only thing I can think of that would be lost is the edit history list

I wasn't aware that these items didn't cary over.  Is this for all exports or just "Original"?  Is this for LR2 and LR3?

Don't know if there is a big market for this kind of routine - you and I may be the only two

Jeff