Pentax K-5 - Sigma 8-16mm Modifying Focal Length

Started by cali92rs, April 17, 2012, 12:04:14 AM

Previous topic - Next topic

cali92rs

Hello, please bear with me, I am a total newbie when it comes to Exiftool.
I am trying to Run the Automation app for Mac OS X in order to modify my DNG files for Sigma 8-16mm.
I would like for Lightroom 3 to correct for this lens, so I am trying this procedure :
http://www.flickr.com/photos/lysvik-photos/6979961111/in/pool-1381252@N21

However, when I run it, I get the following result:
1 Files Could Not Be Read
0 Output files created.

I just copied and pasted the code he used, namely:

for f in "$@"
do
exiftool -overwrite_original_in_place -focallengthin35mmformat= -focalplanexresolution=5206 -focalplaneyresolution=5206 -focalplaneresolutionunit=inches '-focallength<$copy2:focallength' -if '$focallength# == 0′ "$f"
exiftool -overwrite_original_in_place '-focallengthin35mmformat<focallength35efl #' -if 'not $focallengthin35mmformat' "$f"
exiftool -n -g1 -w %d%f_tags.txt "$f"
echo
done

What am I missing?

Thanks in Advance!

Phil Harvey

I'm sorry, but I'm not familiar with the Mac Automator.

I suggest that you start by getting a simple automator script to work before trying to run exiftool.  Perhaps substuting echo "$f" to simply echo the file name to the console instead of the exiftool commands.

It may also help to ask this question in a Mac Automator forum.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

cali92rs

Thanks for the response.

It looked like a quick way to change multiple files, and I have no experience working with the cmd prompt.