Update filesystem date time of images and videos from its EXIF metadata

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.