We were dealing with an out of order dump of photos from a Google photos album and wanting to upload to Facebook. It consisted of jpg
and heic
photos from a iPhone 8 and Pixel 4a so the metadata was different.
Sorting by Date Created
in the macOS finder was out of order and Facebook seemed to sort in the same way. It didn't make any sense because we were seeing 4:55am photos sorted below 4:56pm photos (same day). Regardless of Italian timezone, they shouldn't be sorting like that (it's only GMT+2 vs my local GMT-6) which is an 8 hour difference compared the 12 hour difference shown in the photo date/times. Even looking at the exif metadata, it didn't make any sense what it was pulling from to make it sort that way.
This uses exiftool
to read and do the file manipulation.