Skip to main content
Known Participant
January 8, 2024
Question

Exporting Bridge metadata to csv

As Bridge has sometimes lost my metadata, is there an easy way in which the likes of photo descriptions can be exported into a .csv file (or similar), or alternatively to add photo descriptions from metadata to thumbnails if exporting as contact sheets as a hard-copy backup?

This topic is closed to new replies. Start a new post to keep the conversation going.

25 replies

Legend
January 8, 2024

Stephen has an excellent resource. I also publish a script to export data from files using Bridge.

https://www.dropbox.com/sh/mg817g9a9ymbasi/AADTmXUVxmFfM58bcyYE7yiwa?dl=0

Install the Utility Script pack and use Folder List Export to create a text file.

Translate
christopherthermore
Participating Frequently
July 19, 2024

The Utility Script Pack listed above, I have found to be quite helpful, thanks for providing this. I am very close to the export I need, but it appears I am attenpting to find an uncommon field of metadata. Will this script export just as shown in my screen shot, but instead of "File Name" for the first column I need xmpMM:OriginalDocumentID?

I suspect the same field is also sometimes called Exif.Image.RawDataUniqueID (trying to confirm they are the same).

I also suspect this metadata field is the same exif:ImageUniqueID (trying to confirm still).

Thanks everyone for your consideration.

Translate
Legend
July 19, 2024

That data is easy to get to, see the sample code fragment below.

I recommend EXIFTool for anything complex.

https://exiftool.org/

var exifsel = app.document.selections;
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');
if(exifsel[0].hasMetadata){ //only process files with metadata
    var origDoc = exifsel[0].synchronousMetadata.read('http://ns.adobe.com/xap/1.0/mm/', 'OriginalDocumentID').toString();
    Window.alert(origDoc);
    }
Translate
Stephen Marsh
Community Expert
Community Expert
January 8, 2024

Such metadata is stored in the file, not in Bridge.

 

It's possible to extract such metadata from files.

 

https://prepression.blogspot.com/2016/08/extracting-metadata-to-csv.html?m=1

Translate
Known Participant
January 8, 2024

Stephen - thanks. I've downloaded the ZIP folder, but how do I install it (it's asking what app to associate it with - presumably Bridge)?

Translate
Stephen Marsh
Community Expert
Community Expert
January 8, 2024
quote

Stephen - thanks. I've downloaded the ZIP folder, but how do I install it (it's asking what app to associate it with - presumably Bridge)?


By @eggwhiskengineer

 

What did you download, there were multiple links at my blogpost.

 

Once you have unzipped/decompressed the .zip file, if there are Bridge .jsx files, then the following may help:

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Some scripts may require resources in other locations, so there may be installation instructions inside the .zip for you to follow.

 

Translate