copy exif data from all raw files

Started by toyotadesigner, October 09, 2015, 01:11:49 PM

Previous topic - Next topic

toyotadesigner

I have to apologize if this topic has already been covered, but the search function didn't help me. I tried my very best to understand the documentation and commands, but I guess I failed <sigh>

My task: I have a test directory 'develop' on an external HD where I copied some *.NEF files to. I converted them with DCRaw to *.TIFF files and then wanted to copy the exif data from all *.NEF files to the corresponding TIFF files, except the TAG Software (which should be kept as DCRaw 9.22)

I didn't even come close while testing this command: exiftool -tagsFromFile -TAG=Software /Volumes/My\ Book\ 3/develop/* - it messed up all images

I am just an old photographer and no programmer, so I don't know how to add arguments, i.e. -x Software (leave out the TAG software) - this will stop the process due to an unknown command.

Copying exif data on a one to one basis works, but is tedious. I want to automate the whole development process.

BTW, I'm working with terminal on a Mac.

Maybe someone in this forum can help me? Thanks a lot for any input.

Phil Harvey

#1
You need to specify the file to copy from after the -tagsFromFile option.

But first, to un-do any mess you made before, use this command:

exiftool -restore_original DIR

Then, to copy the all tags except "Software" from NEF to TIFF, try this:

exiftool -tagsfromfile %d%f.NEF --software -ext tiff DIR

- Phil

Edit: Fixed minor typo
...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 ($).

toyotadesigner

It works! Thank you very much for you help - this is fantastic!