• Welcome to the Lightroom Queen Forums! We're a friendly bunch, so please feel free to register and join in the conversation. If you're not familiar with forums, you'll find step by step instructions on how to post your first thread under Help at the bottom of the page. You're also welcome to download our free Lightroom Quick Start eBooks and explore our other FAQ resources.
  • The August 2019 Lightroom updates are now available. Lightroom Classic includes advanced GPU support, batch HDR/pano merge and more. Lightroom (cloud-based service) has deleted photos on the desktop/mobile apps, as well as video support and batch metadata editing on Android. The Missing FAQ and Edit Like a Pro eBooks are already updated for the changes.
  • Stop struggling with Lightroom! There's no need to spend hours hunting for the answers to your Lightroom 6 questions. All the information you need is in Adobe Lightroom 6 - The Missing FAQ!

    To help you started, there's a series of easy tutorials to guide you through a simple workflow. As you grow in confidence, the book switches to a conversational FAQ format, so you can quickly find answers to advanced questions. When you upgrade to subscription, there's also a Lightroom Classic version available.

Importing Partial Filename as Keywords

Aether

New Member
Joined
Dec 12, 2016
Messages
1
Lightroom Experience
Intermediate
Lightroom Version
Hello everyone, thank you for taking the time to check this thread. I am new here and I look forward to your help ^^;;

I use lightroom for a number of things! One of my usage for it is cataloguing about 50k mostly-unique art references. The catalog is kept separate from everything else and consists purely of study references (textures, colors, lighting, paint mediums, human poses, artistic styles, etc).

I have my library tree organized by artist/instructor, and most of the filenames were batched a long time ago to echo a form similar to this: (Artist name) - (subject reference ('texture' 'color')) - (image series#).jpg.

I would like to import parts of the filename as keywords to filter through them more quickly. I know a popular advice is to use the library filter text search as oppose to importing keywords, but there are many unique and less-used keywords I've forgotten. Bulkiness is not a concern for me as most of these files are less than 1mb.

I believe the best way to go about this is by using regular expression to retrieve the partial filenames and then importing it into the keyword tags. I understand lightroom can't do this however and was wondering if anyone know of anyway or any program this can be achieved through. I have looked at quite a few and have had terrible luck. Thank you for reading!
 

tspear

Senior Member
Joined
Sep 23, 2014
Messages
1,754
Location
Waltham MA
Lightroom Experience
Beginner
Lightroom Version
Classic 7
There is no built in mechanism on import that I am aware of to do what you are requesting.
However, if you look at John Beardsworth's Search and Replace tool:
Search Replace Transfer – John Beardsworth
I think it can handle keywords, but not positive. This would potentially allow you to look at the "original filename" meta-data and perform any transformations you require and insert it somewhere else as a more searchable item.
 

rob211

Senior Member
Joined
Mar 17, 2014
Messages
1,098
Location
Walnut Creek, CA USA
Lightroom Experience
Advanced
Lightroom Version
Classic 8
Search Replace Transfer can certainly transfer the filename without extension ("Picasso-color-001" eg) to keywords. But I don't know that there's a way to parse out parts of that filename, to get say Artist>Picasso, subject reference>color, and so on. Usually people go the OTHER way, from keywords to a caption or filename. Once you wrote "Picasso-color-001" as a keyword you could still search and filter and such on it, and then gradually edit them all to conform to a more tidy hierarchical structure.

But look at exiftool: it can be used to parse certain stuff, but filenames might be tough. Again, usually they are written, not read in this scenario. Bridge is also used to write say a whole filename into IPTC tags, but again I dunno if it's possible or efficient to parse out parts of the filename. Might be easier to just get all the filenames in as keywords, then edit from there. That sounds like tons of work (to make hierarchies and so on) but I find that doing it makes one think about the organization, and it might be a good opportunity to clean house a bit as well as add other keywords that could help, especially since filenames are such poor containers for this info, and very limited in size.
 
Top