Hi,
When reading unsupported files, exiftool refuse to return any kind of data, not even the file system metadata, i.e., file modified time.
I think it's good to return at least the file system metadate.
Thanks a lot.
Like this?:
> exiftool -G1 xxx
[ExifTool] ExifTool Version Number : 12.68
[ExifTool] Error : Unknown file type
[System] File Name : xxx
[System] Directory : .
[System] File Size : 3 bytes
[System] File Modification Date/Time : 2023:10:24 13:01:20-04:00
[System] File Access Date/Time : 2023:10:24 13:03:05-04:00
[System] File Inode Change Date/Time : 2023:10:24 13:01:20-04:00
[System] File Permissions : -rw-r--r--
- Phil
Another example
C:\Programs\My_Stuff>exiftool -G1 -a -s 00000002.DAT
[ExifTool] ExifToolVersion : 12.67
[ExifTool] Error : Unknown file type
[System] FileName : 00000002.DAT
[System] Directory : .
[System] FileSize : 6.1 kB
[System] FileModifyDate : 2021:06:28 10:53:22-07:00
[System] FileAccessDate : 2022:07:31 16:41:24-07:00
[System] FileCreateDate : 2021:06:28 10:53:22-07:00
[System] FilePermissions : -rw-rw-rw-
What is your exact command when this happens?