Jump to content

Leica M (240) Image Unique ID


biogon

Recommended Posts

Guest JonathanP

Advertisement (gone after registration)

Many thanks for having a go a sorting this. Sadly I very rarely use LR, using C1 for my RAW converter. However I was using Bridge but until Leica sorts this problem, I can’t really use it.

 

If you are using a Mac and happy with the command line, then you could use ExifTool to fix the files with a duplicate image id. I did a quick test and the following works in a simple script:

 

#!/bin/bash

 

NEW_ID=`uuidgen | sed s/-//g`

 

exiftool -m -imageuniqueid=$NEW_ID -rawdatauniqueid=$NEW_ID $1

 

I used the uuidgen command line tool to generate a unique id piped through sed to remove the hyphens. Worked OK on a couple of test files - (needed the -m option to cope with a Leica MakerNote issue) - could turn it into a more robust script if its of any use. Anyway at least there's options to make troublesome files useable.

 

Jonathan

Link to post
Share on other sites

  • Replies 42
  • Created
  • Last Reply
If you are using a Mac and happy with the command line, then you could use ExifTool to fix the files with a duplicate image id. I did a quick test and the following works in a simple script:

 

 

 

I used the uuidgen command line tool to generate a unique id piped through sed to remove the hyphens. Worked OK on a couple of test files - (needed the -m option to cope with a Leica MakerNote issue) - could turn it into a more robust script if its of any use. Anyway at least there's options to make troublesome files useable.

 

Jonathan

 

Jonathan,

 

I was using ExifTool but it was not compatible with the earlier versions of Yosemite. I have not tried it recently, since I have updated to a later Beta of 10.10. Nevertheless it is a pain in the butt to have to do this. I have gone over to using the cataloguing system in Capture One, which sorts by file name, if you opt for that. I often use the little utility “Better Rename” to give my files more logical names, although if you remember to do it, Capture One will do this for you at the time you import and does sequential numbering with a batch name as well.

 

Wilson

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...