pythonalpine-linuxexiftooliwork

How extract iWorks suite mimetype with Exiftool


I need to extract mimetype with magic number from iWork suite.

How do? Exiftool see ".pages" etc. as "application/zip". But the real mimetype isn't this. How can i extract the correct mime?

I can use an validation with python tool if needed.

"Apline for docker".

Thanks for help.


Solution

  • Phil Harvey has "Improved identification of Apple iWork files" in exiftool version 10.96. Check to see if that works for you.