1 |
On Tue, 28 Aug 2018 22:39:51 -0400, Walter Dnes wrote: |
2 |
|
3 |
> Given this info, I can cobble together a short script. A "for" loop |
4 |
> cycles through "*.jpg". Read "CreateDate" from the EXIF data, and feed |
5 |
> it into the "touch" command, which would reset the physical file |
6 |
> datestamp. |
7 |
|
8 |
You don't even need that, exiftool has a FileModifyDate tag, which is the |
9 |
filesystem date not an EXIF tag, so you can simply set FileModifyDate to |
10 |
CreateDate for each file. |
11 |
|
12 |
exiftool '-FileModifyDate<CreateDate' *.jpg |
13 |
|
14 |
|
15 |
-- |
16 |
Neil Bothwick |
17 |
|
18 |
The best antiques are old friends. |