


If you're using PowerShell, I believe you need to swap the double quotes for single quotes to prevent PS from assuming the dollar sign is the start of a variable. The quoting for this command assumes you're using CMD. Following this recommendation, EXIFToolGUI works as expected. The readme file recommends this installation, but until recently I could ignore the recommendation. In this case, any additional copies will have an UnderscoreNumber added to the filename.Įxiftool -d "%Y:%m:%d %H:%M:%S" -r -if "$FileModifyDate gt $DateTimeOriginal" -Filename=/path/to/modified/%f%+c.%e /path/to/source The way that I got EXIFToolGUI to run and find EXIFTool was to create a directory outside of C:Program Files and manually install the program in that directory. ExifTool - view, edit metadata of photo and video is. If you need to deal with filename collisions, you can add a copy number to any additional files by switching from -Directory to -Filename and adding some percent tokens which are detailed in the -w ( -TextOut) option. On this page you can download ExifTool - view, edit metadata of photo and video and install on Windows PC. 2021:03:26 12:00:00, and that would cause FileModifyDate to be greater than DateTimeOriginal if the time stamps were otherwise identical. The -d ( -dateFormat) option is needed because the FileModifyDate will always include the time zone of the computer, e.g. If so, it will move it to /path/to/modified/ This checks the FileModifyDate to see if it is greater than (string comparison) the DateTimeOriginal.

Exiftool -d "%Y:%m:%d %H:%M:%S" -r -if "$FileModifyDate gt $DateTimeOriginal" -directory=/path/to/modified/ /path/to/source
