libfile-type-perl

Module to determine file type using magic structure
  https://metacpan.org/release/File-Type
  0
  no reviews



File::type uses magic numbers (typically at the start of a file) to determine the mime type of that file.

file::type can use either a filename, or file contents, to determine the type of a file.