1 |
On Mon, Aug 27, 2018 at 11:31:33PM -0400, james wrote |
2 |
|
3 |
> Exif is the data particulars form man image(photo) file formats |
4 |
> |
5 |
> |
6 |
> media-libs/exiftool |
7 |
> Read and write meta information in image, audio and video files |
8 |
|
9 |
This is getting "curiouser and curiouser". I should have done this |
10 |
sooner. I assumed that the datestamp and EXIF data would be the same. |
11 |
But checking "properties" with gqview shows the EXIF date data is |
12 |
correct, with the file datestamp being out to lunch... |
13 |
|
14 |
[i660][waltdnes][~/camera/20180824] exiftool -T -CreateDate IMG_0363.jpg |
15 |
2018:08:24 14:12:19 |
16 |
|
17 |
[i660][waltdnes][~/camera/20180824] ll -og IMG_0363.jpg |
18 |
-rw-r--r-- 1 477731 Jan 26 2013 IMG_0363.jpg |
19 |
|
20 |
Given this info, I can cobble together a short script. A "for" loop |
21 |
cycles through "*.jpg". Read "CreateDate" from the EXIF data, and feed |
22 |
it into the "touch" command, which would reset the physical file |
23 |
datestamp. |
24 |
|
25 |
-- |
26 |
Walter Dnes <waltdnes@××××××××.org> |
27 |
I don't run "desktop environments"; I run useful applications |