On Sun, Jul 11, 2021 at 6:34 AM, Dr. Nikolaus Klepp office@klepp.biz wrote:
It might be that "exiftool" already has the functionality needed - quote from the man page:
exiftool '-FileModifyDate<DateTimeOriginal' dir Use the original date from the meta information to set the same file's filesystem modification date for all images in a directory.
A problem with unconstrained exiftool is that to be safe it makes a copy of each file it modifies, so there's generally a lot of cleaning up to do after running it.
dep Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/