ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Yang-z on October 24, 2023, 12:02:01 PM

Title: read file system metadate for unsupported files
Post by: Yang-z on October 24, 2023, 12:02:01 PM
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.
Title: Re: read file system metadate for unsupported files
Post by: Phil Harvey on October 24, 2023, 01:03:52 PM
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
Title: Re: read file system metadate for unsupported files
Post by: StarGeek on October 24, 2023, 01:50:51 PM
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?