Hello,
I create an album with JPEG files. I rename all files to respect the order of the slideshow, if I sort the files by names.
But, if I publish this folder in Internet, the order was the exif date/time.
So, I would like to set the date/time to all files in the folder to have the same order if I sort by name or by date/time.
Is it possible with ExifTool ?
Thanks
Yes. You could do this:
1. Set all files to the same date/time (the current date in this example, see FAQ 5 (https://exiftool.org/faq.html#Q5) for information about date/time formatting):
exiftool -alldates=now DIR
2. Increment times by 1 hour for each subsequent file, ordered by file name:
exiftool "-alldates+=filesequence" -fileorder filename DIR
AllDates is a Shortcut tag (https://exiftool.org/TagNames/Shortcuts.html) that represents the common EXIF date/time tags. FileSequence is an Extra tag (https://exiftool.org/TagNames/Extra.html) that starts at zero and increments for each processed file.
- Phil