Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Copying Attributes

Community Expert ,
Oct 14, 2025 Oct 14, 2025

Is it possible to apply JPEG attributes, such as color labels and ratings, to RAW files with the same name in Adobe Bridge?
I searched a bit but couldn't find anything, so I'd like to request a feature like this if it's available.

TOPICS
Batch , Camera RAW , Feature request , How to , Metadata , Scripting
237
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , Oct 16, 2025 Oct 16, 2025

Its probably the uppercase file extensions? Try this revision. I had to initially fix ".jpg" vs ".jpeg". Obnviously this script could be modified to work with any type of file as needed.

 

#target bridge
if(BridgeTalk.appName == 'bridge'){
    var attrCmd = MenuElement.create('command', 'Copy Attributes', 'at the end of Tools'); //create new menu command
    }

attrCmd.onSelect = function(){
    try{
        var thumbs = app.document.selections;
        var baseName = '';
        var baseLen = 0;
...
Translate
Advisor ,
Oct 14, 2025 Oct 14, 2025

Yes you could do this with a script or with EXIFTool. There is no native support for this functionality.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 14, 2025 Oct 14, 2025

Below is a simple script that will copy labels and ratings from a JPEG file to a RAW file. Select all the files to be processed (both JPEG and RAW) and run the script from the Tools menu.

 

To install, save as PLAIN TEXT (not RTF) with .jsx file extension and place that script into the Bridge Scripts Folder (Bridge Preferences/Settings->Startup Scripts->Reveal My Startup Scripts button) and relaunch Bridge.

 

#target bridge
if(BridgeTalk.appName == 'bridge'){
    var attrCmd = MenuElement.create('command', 'Copy Attributes', 'at the end of Tools'); //create new menu command
    }

attrCmd.onSelect = function(){
    try{
        var thumbs = app.document.selections;
        var baseName = '';
        var baseLen = 0;
        var lbl = '';
        var rtg = 0;
        for(var i = 0; i < thumbs.length; i++){
            if(thumbs[i].core.itemContent.canDoCameraRaw){
                baseName = thumbs[i].name.split('.');
                baseLen = baseName.length - 1;
                if(baseName[baseLen] != 'jpg' && baseName[baseLen] != 'jpeg'){
                    baseName.length--;
                    baseName = baseName.join('.');
                    for(var j = 0; j < thumbs.length; j++){
                        if(thumbs[j].name == baseName + '.jpg' || thumbs[j].name == baseName + '.jpeg'){
                            lbl = thumbs[j].label;
                            rtg = thumbs[j].rating;
                            thumbs[i].label = lbl;
                            thumbs[i].rating = rtg;
                            break;
                            }
                        }
                    }
                }
            }
        }
    catch(e){
        alert(e + ' ' + e.line);
        }
    }
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2025 Oct 16, 2025

@ExUSA - Great stuff, thanks for posting!

 

I tried with a JPG+NEF but the label and ratings were not copied to the raw file. Same name except for extension, refreshed and purged cache for selection and folder. Bridge 2025, Win 11.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 16, 2025 Oct 16, 2025

Hmmm... I tested with CR2 and CR3 files, not stacked. This script just goes off of base filename so it should work with any file pairing as long as one is a RAW file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2025 Oct 16, 2025

That's the strange thing, it's not a stack, just two images, nothing happens, this is the result after running the installed script with only these two images selected beforehand:

 

Screenshot 2025-10-16 234343.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 16, 2025 Oct 16, 2025

Its probably the uppercase file extensions? Try this revision. I had to initially fix ".jpg" vs ".jpeg". Obnviously this script could be modified to work with any type of file as needed.

 

#target bridge
if(BridgeTalk.appName == 'bridge'){
    var attrCmd = MenuElement.create('command', 'Copy Attributes', 'at the end of Tools'); //create new menu command
    }

attrCmd.onSelect = function(){
    try{
        var thumbs = app.document.selections;
        var baseName = '';
        var baseLen = 0;
        var lbl = '';
        var rtg = 0;
        for(var i = 0; i < thumbs.length; i++){
            if(thumbs[i].core.itemContent.canDoCameraRaw){
                baseName = thumbs[i].name.split('.');
                baseLen = baseName.length - 1;
                if(baseName[baseLen].toLowerCase() != 'jpg' && baseName[baseLen].toLowerCase() != 'jpeg'){
                    baseName.length--;
                    baseName = baseName.join('.');
                    for(var j = 0; j < thumbs.length; j++){
                        if(thumbs[j].name.toLowerCase() == baseName.toLowerCase() + '.jpg' || thumbs[j].name.toLowerCase() == baseName.toLowerCase() + '.jpeg'){
                            lbl = thumbs[j].label;
                            rtg = thumbs[j].rating;
                            thumbs[i].label = lbl;
                            thumbs[i].rating = rtg;
                            break;
                            }
                        }
                    }
                }
            }
        }
    catch(e){
        alert(e + ' ' + e.line);
        }
    }

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2025 Oct 16, 2025

It was the extension case sensitivity. Great job, I would have used ExifTool as it's simpler for me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 16, 2025 Oct 16, 2025

Yeah I think EXIFTool is a lot easier to setup for this use case. I already had an auto-stack script so modifying it didn't take much work. Hopefully the OP can work with this sample script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 17, 2025 Oct 17, 2025

Thank you, ExUSA.
I'll give it a try.
I appreciate your kindness.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 17, 2025 Oct 17, 2025
LATEST

This is obviously just a small sample. With EXIFTool or with custom scripts, you can do many more metadata operations but that would take added code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines