Exiftool Windows CLI - Help with simple commands

Started by prettypixel, November 18, 2018, 05:01:27 AM

Previous topic - Next topic

prettypixel

I have some experience in using Exiftool from the macOS command line. More recently, I have been using the excellent ExiftoolGUI application. I now wish to use Exiftool within the Windows Command Line. I am able to read metadata of my images, by issuing the command:

C:\Users\Wendy\Desktop\Photos\one.jpg

However, I would now like to write/edit image metadata as follows:

DateTimeOriginal
Geotag

Am I correct in thinking the commands are the same as those I used on macOS, but instead of using single quotes, I need to use double quotes for Windows? Thank you in advance.

Phil Harvey

Yes, the commands are the same in MacOS as Windows.  The only differences are due to the differences in the way the terminal processes the command line.  Double quotes work on Mac, but you need to use single quotes if any argument contains a dollar sign ($).

To geotag an image you should set DateTimeOriginal first, because the geotag feature uses this to look up the position in the GPS track log.

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