[Originally posted by exiftool on 2009-10-06 10:46:36-07]Hi Ali,
I assume you mean that the raw file has extension ".crw", not ".raw".
If so, here is the command:
exiftool -tagsfromfile %d%f.crw -datetimeoriginal -ext jpg DIR
where
DIR is one or more directory of file names.
This command will process all JPG images specified, inserting
the DateTimeOriginal tag from the corresponding CRW images.
- Phil
[Originally posted by exiftool on 2009-10-06 16:49:42-07]Hi Ali,
The CRW images contain only the DateTimeOriginal tag,
so you must use this when copying but you can write
it to any tag you want. So the step-by-step is:
1. Download and install the Mac OS X version of Exiftool.
2. Launch "Terminal" from your Applications/Utilities folder.
3. Cut the following command and paste it in the terminal
window:
exiftool -tagsfromfile %d%f.crw -datetimeoriginal -ext jpg ~/Desktop/Athena
The "~" in a path name is a shortcut to save you some typing.
In the Terminal window, "~" represents your home directory
(which is "/Users/ali" in your case).
The above command will preserve all of the original JPG images
by adding "_original" to the file name, and create a new set
of JPG images with the updated information in the same folder.
If nothing happens, the most likely problem is that the directory
name is not exactly correct, so be sure to get this right. If there
are any spaces in the directory name, you need to put quotes
around it on the command line.
As you noted, this command sets the DateTimeOriginal,
which is the tag you want to set if geotagging with exiftool.
So after this, you can geotag with the following command:
exiftool -geotag ~/Desktop/track.log -ext jpg ~/Desktop/Athena
(assuming that exiftool supports the format of your track log file,
and that it is called "track.log" on the Desktop.)
But if you are using some other geotagging software which requires
CreateDate to be set, then this command will do it for you:
exiftool -tagsfromfile %d%f.crw "-createdate<datetimeoriginal" -ext jpg ~/Desktop/Athena
Or you could set both CreateDate and DateTimeOriginal by adding
"-datetimeoriginal" to the above command just before the "-ext" option.
Hopefully this will get you going.
- Phil