Changing a moved date

Started by little frog, April 25, 2023, 06:33:39 AM

Previous topic - Next topic

little frog

Hi,
my problem is, some of my jpeg and mp4 files have a moved date by 2 days (f.e. the orinal date of the creation was the 25.04.2023 but the date in the metadata is 27.04.2023) is there an easy way add 2 days to  value of the date of all the photos/videos at once? The only solution I found out, is to split my files in groups by the same date and then change the date manually, but that would be a lot of work^^
thank you!
little frog :)

Phil Harvey

This is the command to change CreateDate back by 2 days for all writable files in directory DIR:

exiftool -createdate-="2 0" DIR

You can add extra arguments to change other dates too.

This will reset the filesystem dates though.  Add -P to preserve these, or shift them too if you want.

Use this command to see all available date/time values:

exiftool -time:all -s -G1 FILE

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