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

Sorting photos from 2 camera shoot by time when one camera's clock is different

New Here ,
Sep 29, 2005 Sep 29, 2005
I have 800 photos from two different cameras from a wedding shoot. One of the camera's clock was off by 1hr and 11mins. What would be the fastest/best way to append the metadata for that camera's files so I can sort by date/time file created? Can I create a script that would append the time of every file selected by the hour and eleven minutes? How would you accomplish this?

Thanks,
AL
TOPICS
Scripting
252
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 Beginner ,
Sep 29, 2005 Sep 29, 2005
LATEST
AL

AFAIK, there is no way to set the creation date of a file other than to execute a copy.

As for setting the DateTimeOriginal EXIF property, that's a pretty straightforward script.

If you'd like to take a shot at it, I'll help you where I can. If you need someone to write it, perhaps one of the scripters around here will take it on for you.

The basic process would be something like:

var kids = app.document.thumbnail.children;
for ( var i = 0; i < kids.length; i++ ) {
var mdObject = kids[ i ].synchronousMetadata;
mdObject.namespace = "http://ns.adobe.com/eixf/1.0/";
var d = new Date( mdObject.DateTimeOriginal );
d = new Date( Date.parse( d ) + (1000*60*71) );
// at this point - format the date -
// then set it
mdObject.DateTimeOriginal = dateString;
}

Bob
Adobe WAS Scripting
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