Enviado por ariel el Lun, 08/29/2016 - 12:39
Exporting my iPhone photos from Photos to a custom folder lead out to present file created and modified dates, and i rather have them with the date where the photos and/or videos were taken.
First install Homebrew if you don't have it installed, and then install exiftool with it:
brew install exiftool
Then you can do the following, using you preferred terminal application.
- For photos:
exiftool "-filemodifydate<datetimeoriginal" *.JPG
- For Videos:
exiftool "-filemodifydate<creationdate" *.MOV
This assumes the JPG and MOV extension (in caps) which the normal case with iPhone photos. The same approach could possibly be use with image and video as long is it have the date tags present. To find out all time tags on an image or video, you can use the following command:
exiftool -time:all -a -G0:1 FILENAME