Skip to main content
Participant
June 5, 2008
Question

IMPORTING keywords/metadata into Bridge

  • June 5, 2008
  • 4 replies
  • 3794 views
I've followed the thread here: http://www.adobeforums.com/webx?127@@.3bbaa316.3bbb9835

which goes into great detail as to how to export the data... but no mention of importing, even though it's titled as so.

Is there a way to IMPORT metadata, specifically keywords, into Bridge?

Ideally I would have a csv file, with file name in one column, keywords in next, import this and the rest is self explanatory obviously.

any help is appreciated
This topic has been closed for replies.

4 replies

Kasyan Servetsky
Legend
June 4, 2009

Sorry, I didn't notice the year of original message.

Participant
March 17, 2009
Jonathan / Jay did you get anywhere with this, I am trying to do the same. I know it can be done, as I have seen it a few months ago. Taking data from Filemaker and adding it into the metadata of a pdf. Has anybody got a script to amend slightly.

Thanks in anticipation.
June 2, 2009

I was able to get this script to work for me in renaming a bunch of jpg images. It was truly a time and life saver. Let me know if I can help you out. All I did was change some filenames and paths in the original script and it worked.

Brandon

Participant
September 29, 2008
I'm not a scripting guy, I have some basic knowledge, and I too, am looking for a method to automate the uploading of bulk metadata from an .xls spreadsheet into images via bridge.

What I am thinking is that there would be a spreadsheet with columns that would correspond to the standard metadata fields accessed through the "file info".

someone must have already developed this, I'm not looking to reinvent the wheel. I'm looking for something like a plug-in, but a working script would do fine.
Paul Riggott
Inspiring
June 21, 2008
Ok here is a quick idea on how to do it...
CSV file in the format
FULL filename including path
keywords seperated by a semicolon eg:
C:/Pictures/China/Paul/P1000662.JPG,Fred;Joe
C:/Pictures/China/Paul/P1000663.JPG,Graham;Paul
C:/Pictures/China/Paul/P1000664.JPG,Paul

code......

#target bridge
//Amend filename to suit
var csv = new File("c:/a/csvmetadata.csv");
csv.open("r");
while(!csv.eof){
strInputLine = csv.readln();
if (strInputLine.length > 3) { // Make sure it isn't a blank line
strInputLine = strInputLine.replace(/\\/g,'/'); //Change backslash to forward slash.
inputArray = strInputLine.split(",");
var csvFile = new File(inputArray[0]);
if(csvFile.exists){ //Check if file exists
writeMetadata(inputArray[0],inputArray[1]);
}
}
}

function writeMetadata(file,keys){
item = new Thumbnail(file);
md =item.synchronousMetadata;
md.namespace = "http://ns.adobe.com/photoshop/1.0/";
md.Keywords = md.Keywords + ";" + keys; //Append keywords
}