ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: PipeRed on December 07, 2023, 04:57:09 PM

Title: Change Date/time to many photos (Drone Survey)
Post by: PipeRed on December 07, 2023, 04:57:09 PM
Hello!
I need to change the exif data of several drone images. Some software reads the linear date and time to re-construct the flight plan. When you take one area one day and then you take the same area on another day, the flight plan gets conflict and interpretate a caotic flight plan (like the drone just turn arround, etc).

So the idea is simple

I have this photo list
DJI001 with this date: 06-12-2023  16:07:29
DJI002 with this date: 06-12-2023  16:07:32
DJI003 with this date: 06-12-2023  16:07:47
...
...
DJI099 with this date: 06-12-2023  16:45:21


And i would like to change to this

DJI001 with this date: 29-11-2023  13:02:23
DJI002 with this date: 29-11-2023  13:02:24
DJI003 with this date: 29-11-2023  13:02:25
...
...
DJI099 with this date: 06-12-2023  13:04:03

Start with an specific date and change the time to and spefic start and increment each photo in 1 second


This would help others with my same idea
Thank you!






Title: Re: Change Date/time to many photos (Drone Survey)
Post by: StarGeek on December 07, 2023, 05:48:21 PM
Quote from: PipeRed on December 07, 2023, 04:57:09 PMStart with an specific date and change the time to and spefic start and increment each photo in 1 second

See this previous post (https://exiftool.org/forum/index.php?topic=5621.msg27394#msg27394) for an example of how to do it..  In the example there, the increment is by minute.  To increment by seconds, use
'-DateTimeOriginal+<0:0:$filesequence'

You may have to use a different date/time tag.  To see all the date/time tags in a file, use this command
exiftool -time:all -G1 -a -s file.jpg

The above command is for Mac/Linux.  For Windows CMD, change the single quotes into double quotes.