Lightroom filename search and replace

  • 11
  • Idea
  • Updated 5 years ago
Lightroom needs search and replace for file names.
It's not just that I want it, Lightroom needs it.
Photo of Justin Thornton

Justin Thornton

  • 6 Posts
  • 6 Reply Likes
  • frustrated

Posted 7 years ago

  • 11
Photo of Benjamin Warde

Benjamin Warde, Employee

  • 483 Posts
  • 72 Reply Likes
Hi Justin,

Lightroom can already search for file names, and can already edit file names. Can you expand a bit on the specific workflow that you're envisioning?

Thanks,
Ben
Photo of Justin Thornton

Justin Thornton

  • 6 Posts
  • 6 Reply Likes
You can search but not replace. I lets say I misnamed part of a filename across many files, but I wat to leave the rest of the name intact.

I don't want to totally rename the file because that would mess up my file naming practices. (like numbering systems, dates and descriptive words that may vary in this group of files) I just want to change the misnamed part.

So I want lightroom to search in the filename for the exact term I add and then replace it with another term or variable that I specify. (pretty much what search and replace has always done, just apply it to file names inside lightroom)

There are many tools that do this on the files system on os level. But lightroom's inability to check to see if a file name has change and intelligently recognize that file with the name change has been a huge road block keeping my photography workflow smooth. So lightroom restricts me from using these tools.

So you could add the filename search and replace, expand your api so that someone else can do it or make the catalogue "smart" so that it can track a file even if the name changes.
Photo of Steve Clark

Steve Clark

  • 17 Posts
  • 2 Reply Likes
I would have use for this as well.
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4124 Posts
  • 1471 Reply Likes
This is a request I hear quite regularly, so it gets my vote too.

I would suggest it needs find/replace (i.e. replace misspelled120.jpg with correct120.jpg) as well as replace/remove the first/last X characters (i.e. remove first 3 characters would change misspelled120.jpg to spelled120.jpg).
Photo of Justin Thornton

Justin Thornton

  • 6 Posts
  • 6 Reply Likes
I like that idea (add that too) but what I'm asking is more like this:
filename is 2011_8_18_words_123.dng

I would like to search for "words" and replace with "other words" that give the ability to replace any part of the filename.

But defining the a number characters from the beginning or end of the name then replacing them would be a powerful organizational feature.
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4124 Posts
  • 1471 Reply Likes
That's really useful clarification Justin, and I'd agree with that example too.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 379 Reply Likes
I'd also like to see an option for search/replace to use regular expressions (Lua and/or others), although if SDK is enhanced to support move/rename/etc then it could be done using a plugin instead (as could the search/replace in general, and then some...).

Summary:
-------------
Native support for search/replace is probably a good idea (for plugin-phobes). And, if primitives added to SDK, you'll see rename/restructuring plugins spring up "overnight"...
Photo of rachel channon

rachel channon

  • 14 Posts
  • 2 Reply Likes
I would love to see Dopus (Directory Opus) combined with Lightroom. Dopus has amazing abilities to rename files, plus create multiple new folders.
Additionally, i would like to see some way to include a keyword in a filename. obviously many times there are multiple keywords, but something like use first keyword (alphabetically) or last keyword would often be useful even if not perfect. There are times when i want to export a set of files with a keyword name and the file only has one keyword. so if the file has the keyword "camel" then the exported file would be camel.jpg