perl-file-mimeinfo 0.29 Determine file type from the file name
File::Mimeinfo can be used to determine the MIME type of a file. It tries to implement the Freedesktop specification for a shared MIME database.
This package also contains two related utilities:
mimetypedetermines a file's MIME type;
mimeopenopens files in an appropriate program according to their MIME type.