read file system metadate for unsupported files

Started by Yang-z, October 24, 2023, 12:02:01 PM

Previous topic - Next topic

Yang-z

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.

Phil Harvey

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
...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 ($).

StarGeek

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?
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).