FileModifyDate+FileAccessDate+FileInodeChangeDate werden nicht eingetragen

Started by GGMGGMGGM, October 08, 2024, 02:35:23 PM

Previous topic - Next topic

GGMGGMGGM

FileModifyDate+FileAccessDate+FileInodeChangeDate werden seit letzter Zeit im EXIF von Bilder folgendermaßen eingetragen:
{
    "_ctor": "ExifDateTime",
    "year": 2024,
    "month": 10,
    "day": 8,
    "hour": 17,
    "minute": 45,
    "second": 30,
    "tzoffsetMinutes": 0,
    "rawValue": "2024:10:08 17:45:30+00:00",
    "zoneName": "UTC",
    "inferredZone": false
}

Hat vorher korrekt funktioniert

Meldung: Warning: Install Win32::API for proper handling of Windows file times
gefundene win32api.dll rein zu c:\windows\syswow64\ und C:\Windows\System32\ .
Registrierung mit regsvr32 ging nicht da gefundene win32api.dll nicht erkannt

zig Variationen probiert:
perl -w C:\Windows\exiftool.pl -file:FileModifyDate="2024:10:08 20:20:20 +02:00" "C:\0\0\0s\S0001g2.jpg" -overwrite_original
perl -w C:\Windows\exiftool.pl -FileAccessDate="2024:10:08 20:20:20 +02:00" "C:\0\0\0s\S0001g2.jpg" -overwrite_original
perl -w C:\Windows\exiftool.pl -file:FileModifyDate="2024:10:08 17:14:59 +02:00"
usw usw

Habe nach zig Stunden keine Ahnung was nicht funktioniert

Bitte um Hilfe

2024.10.08--20_33_41--Online EXIF & Metadata Viewer - Google Chrome--001.jpg
2024.10.08--20_34_16--Online EXIF & Metadata Viewer - Google Chrome--001.jpg

Phil Harvey

I don't fully understand your problems, but I can say 2 things:

1.  You can't write FileAccessDate.  The system automatically updates this to the last time the file was accessed.

2.  The Windows .exe version that you can download from exiftool.org contains Perl and all the necessary libraries.  You could use this version to avoid the problems of having to install Win32::API for your version of Perl.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).