Help outputting metadata

Started by AllanMarcus, June 10, 2022, 06:41:38 PM

Previous topic - Next topic

AllanMarcus

Hi. I recently installed exiftools, and feh, on a Pi as I make a photo frame. I want to display a little data with each image, so I tried this line:

allan@raspberrypi:~/Documents $ exiftool -p "info: $Make $Model $Lens $Aperture $ShutterSpeed $FocalLengthIn35mmFormat $DigitalCreationDate" /mnt/photos/2022/2022-01\ Baxter/DSC00184.jpg
info:


as you can see, none of the fields printed out. The data is there...

allan@raspberrypi:~/Documents $ exiftool -Make -Model -Lens -Aperture -ShutterSpeed -FocalLengthIn35mmFormat -DigitalCreationDate /mnt/photos/2022/2022-01\ Baxter/DSC00184.jpg
Make                            : SONY
Camera Model Name               : ILCE-7M4
Lens                            : E 28-200mm F2.8-5.6 A071
Aperture                        : 6.3
Shutter Speed                   : 1/100
Focal Length In 35mm Format     : 83 mm
Digital Creation Date           : 2022:01:08


I imagine I'm just missing something basic here. Any ideas?

StarGeek

The dollar sign has a special meaning in Linux when there  are double quotes around it.  Change the double quotes to single quotes and you will get the results you want.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype