Skip to main content
Participant
June 30, 2014
Question

Adobe Bridge CC: Batch Rename using any metadata field

  • June 30, 2014
  • 4 replies
  • 6773 views

How can I add certain Metadata fields to the pull down menu in the batch rename function?

I need to do a batch rename of files, but using metadata fields that are not available as an option on the pull down menu.

Hoping to use any or all of these:

Audio : Artist, Album, Genre

IPTC Core : Description, Keywords, etc..

This topic has been closed for replies.

4 replies

Participant
March 31, 2021

Hi I can't see this thread? 

I need to add "Description" as one of the dropdown choices when batch re-naming using the Metadata option.

There seems to be lots of camera metadata as an option, but I would like to pull this from the IPTC core, and rename all photos, each having it's own unique description in the filename.  Is this possible without an additional plug in? thank you!

Stephen Marsh
Community Expert
Community Expert
April 2, 2021

Using ExifTool, the following command can achieve this rename in a single step for a folder full of files:

 

exiftool -overwrite_original '-XMP-xmpMM:PreservedFileName<${filename}' '-filename<Recital2020.%1.3C_25_04_${XMP-dc:Description}.%le' '/system path to/top level/folder'

 

I have added faux syntax highlighting to help visually break up the command line code. The static text string is coloured in red. The remaining text in black is used to preserve the original filename in metadata, add a 3 digit sequential number starting at 1, add the description metadata and use a lowercase filename extension. The text coloured in blue is the file system path to the top-level folder or file being processed. This example is formatted for the Mac, Windows users would swap the single straight quote marks for double straight quote marks. Work on copies of the originals for safety until you are happy.

 

 

EDIT: I have updated the previous command line code to include the removal of illegal Windows filename characters:

 

exiftool -overwrite_original '-XMP-xmpMM:PreservedFileName<${filename}' '-filename<Recital2020.%1.3C_25_04_${XMP-dc:Description}.%le' -execute '-filename<${filename;s/[:\/\\*\?\"\<\>\|]//g}' -common_args '/system path to/top level/folder'

 

 

Participant
April 2, 2021

Hi thank you!

I will try this - and hand it off to programmers, since I have no Idea what it all means - lol - I just know what I want to acheive.

I'll let you know if the test works!

TheHoaryHound
Known Participant
June 6, 2016

This is easily done with Photo Mechanic... and probably one of the key reasons I'm using that software.

Sure would love to be able to batch rename using ANY of the IPTC fields, not just the fields provided in the dropdown menus.

I'd also like to insert Items such as "star rating" and "color rating" into the file name as well.

Has anyone found an answer to this? Seems like it should be possible.

Thanks.

Stephen Marsh
Community Expert
Community Expert
June 7, 2016

Add your support to my request or make your own request:

Bridge Batch Rename Using Any XMP Data | Photoshop Family Customer Community

From a scripting perspective, I am sure that it is possible, however I am guessing that it is not an easy task (what to do if an image has blank metadata in the source field, how to handle metadata characters that are not legal for the operating system file name etc).

My solution is to use ExifTool

Stephen Marsh
Community Expert
Community Expert
February 8, 2016

I just placed a feature request.

It would be nice if there was a Bridge script to do so though!

Bridge Batch Rename Using Any XMP Data | Photoshop Family Customer Community

Inspiring
July 11, 2014

I don't think there is any way in which you can add to the built-in functions…

Unless this is actually provided by one of the Adobe start-up scripts… ( I've not see it when digging about )

You would probably need a scripted solution that can give you drop down menu of the extra options you want.

Participant
August 23, 2015

Hello,

I have the same request.

I am trying to use IPTC Core & Extension Data to batch rename many files on a regular basis.

It seems that most of the metadata available for batch renaming in bridge is read only. I need to enter a custom and very specific naming convention. I would be willing to use different files if necessary.

I also was wondering if its possible to create custom metadata and then use those fields to run a batch rename?

Any help is greatly appreciated.

Anthony