How can I find out a files “mime-type(Content-Type?)”?

File --mime-type FILE_NAME or file -i FILE_NAME.

Cheers, "file --mime-type /1. Png" works great! – Mint Feb 9 '10 at 6:32 Not if you use the Git bash under windows.

– tivo Sep 23 at 8:25.

One of the other tool (besides file) you can use is xdg-mime eg xdg-mime query filetype query filetype if you have yum, yum install xdg-utils. Noarch An example comparison of xdg-mime and file on a Subrip(subtitles) file $ xdg-mime query filetype subtitles. Srt application/x-subrip $ file --mime-type subtitles.

Srt subtitles. Srt: text/plain in the above file only show it as plain text.

Try the file command with -i option. -i option Causes the file command to output mime type strings rather than the more traditional human readable ones. Thus it may say text/plain; charset=us-ascii rather than ASCII text.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions