How to find a file's mailcap "content type"?

Chris Green cl at isbd.net
Wed Oct 30 12:37:47 UTC 2019


On Wed, Oct 30, 2019 at 10:59:43AM +0000, Colin Watson wrote:
> On Mon, Oct 28, 2019 at 09:55:59PM +0000, Chris Green wrote:
> > How can one find what mailcap "content type" corresponds to a file's
> > actual format?
> 
>   file --brief --mime-type FILE-NAME
> 
Of course, the 'file' command (which I use quite a lot for other
things), thank you Colin.  :-)

-- 
Chris Green




More information about the ubuntu-users mailing list