Add Image File Name to Transmission Reference Field (for multiple images) on Mac

Started by Peter J, March 27, 2025, 11:04:59 PM

Previous topic - Next topic

Peter J

Hi Phil,
I am a complete beginner when it comes to using Exiftool but believe it will do the job for me.
After copying a group of image files from the camera SD card, I would like to add the file name (including extension) of each image to the Transmission Reference field.

I found these instructions in a post of yours way back in 2014 to change the Camera Model field.
==============

Here are the steps:

1) Download and install the Mac version of ExifTool.

2) Launch the Terminal app.  (You will find it in Applications/Utilities.)

3) In the Terminal window, type this (but do NOT press RETURN yet):  exiftool -model=X100S

4) In the Terminal window, press SPACE (to give a space after the command you typed).

5) Drag and drop your X-T1 RAF image (or a folder containing RAF images) onto the Terminal window.

6) Make sure the Terminal window is selected, then press RETURN to run the command.

ExifTool will now change the Model name according to the command you typed.  It will create a "_original" file as a back up of each file that it modifies.

- Phil

================

I followed these instructions with success and was wondering if you could please tell me the Terminal command (instead of -model=X100S) which will add the file name to the TR field?

Also, will it work if I drop a group of image files onto the terminal window?

Thanks in advance
Peter

Phil Harvey

Hi Peter,

exiftool "-transmissionreference<${transmissionreference} ${filename}" FILE

But note that this will do nothing if the TransmissionReference tag doesn't already exist in the file.

- 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 ($).