Using exiftool
, if I have a file named foobar.jpeg
and the shell variables lat="37.7708"
and lon="-122.451"
.
What command do I use to set the EXIF metadata for that jpeg file such that its "geotag" / GPS metadata is set with those coordinates.