Originally posted by dbh This post inspired me to make a batch file which, since I have found it to be quite useful, I thought I'd share here.
Hope this helps someone.
Hello,
I'm very interested in your batch file, but I'm not able to let it work...Since I'm computer illiterate, could you please help me?
I followed these steps:
- put exiftool.exe into d:\Program Files\Utility
- created in the same directory .ExifTool_config file
- pasted into .ExifTool_config the following lines:
%Image::ExifTool::UserDefined = (
'Image::ExifTool::Composite' => {
Calc35mm => {
Require => 'copy2:FocalLength',
ValueConv => '$val * 1.5'},
},
);
- created sigma8.bat in d:\Program Files\Utility
- pasted in sigma8.bat your line:
d:\Program Files\Utility\exiftool -progress -overwrite_original -k -ext dng -ext pef -r "-exif:FocalLength<copy2:FocalLength" "-exif:FocalLengthIn35mmFormat<Calc35mm" -if "not $FocalLength ge 10" "%1"
- dropped a folder containing 22 DNG files (1 taken at 8mm.) over sigma8.bat
... nothing happens.
the DNG taken at 8mm. has an empty field for focal length
What did I wrong?
Quote: Assuming you already have created/edited your .ExifTool_config file as described by the OP,
Who/What is the OP?
Can I use your bat file in ExiftoolGui (much more user friendly)?
Thank you.
Last edited by samandal; 02-13-2013 at 11:11 AM.