ExifTool Forum

ExifTool => Newbies => Topic started by: little frog on April 25, 2023, 06:33:39 AM

Title: Changing a moved date
Post by: little frog on April 25, 2023, 06:33:39 AM
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 :)
Title: Re: Changing a moved date
Post by: Phil Harvey on April 25, 2023, 06:50:42 AM
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