On Tue, 28 Aug 2018 22:39:51 -0400, Walter Dnes wrote:

>   Given this info, I can cobble together a short script.  A "for" loop
> cycles through "*.jpg".  Read "CreateDate" from the EXIF data, and feed
> it into the "touch" command, which would reset the physical file
> datestamp.

You don't even need that, exiftool has a FileModifyDate tag, which is the
filesystem date not an EXIF tag, so you can simply set FileModifyDate to
CreateDate for each file.

exiftool '-FileModifyDate<CreateDate' *.jpg


-- 
Neil Bothwick

The best antiques are old friends.

Attachment: pgpAHsNvIxrZW.pgp
Description: OpenPGP digital signature

Reply via email to