I'm using exifautotran
to automatically reorient images imported from a camera. This script uses jpegtran
to do the rotations, and this utility is not able to modify the original file. I need to preserve the mtime because I'm then matching the media to missions completed in our app based on the timestamp.
Basically I just need to access the mtime from one file and assign it to another
How can I do this in a Mac UNIX terminal?