Comment 2 for bug 1878617

Revision history for this message
Charles Plessy (plessy) wrote :

Hello,

You can add `application/vnd.apple.pages pages` in `/etc/mime.types` on your system, and I will do it in a future update of the `mime-support` package, but it will not effect the output of the `file` command, which uses a different database.

You can open a bug on the `file` package to request it, but please have a look if you can at <https://github.com/file/file/tree/master/magic> before: as you will see, unless you can provide a “magic number” for that format (a proprietary format from a proprietary software, if I may comment), it may not be possible to detect it.

You can also have a look at the `shared-mime-info` package for another way to associate the `.pages` file suffix to the `application/vnd.apple.pages` media type.

Have a nice day,

Charles Plessy