How does one reliably determine a file\'s type? File extension analysis is not acceptable. There must be a rubyesque tool similar to the UNIX file(1) comman
This library allows for the identification of a file’s likely MIME content type. The identification of MIME content type is based on a file’s filename extensions.