AllDates Shortcut Tag

Started by SnowSkier, April 13, 2013, 04:54:51 PM

Previous topic - Next topic

SnowSkier

Version 9.26
Windows 7 x64

Command line:  exiftool -AllDates+=1

DateTimeOriginal gets changed by plus 1 hour
CreateDate and ModifyDate get set to the current system time.

How does exiftool interpret the script above? Is it to set all three items to the same date and time or is it to add one hour to each of the items or is it to add one hour to DateTimeOriginal and 'Now' to the other two?

Phil Harvey

I think you're talking about the filesystem modification and creation date/times, called FileCreateDate and FileModifyDate by ExifTool.  Use the -P option to preserve these.

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