Get the Mime Type of a File
Thursday, August 6th, 2009If you would like to know the mime type of the file you can use the file command with the -i -b options. Example: > file -i -b 20090731.flv application/octet-stream
Hello, my name is Daniel Ice. I am a software developer in the Dallas, TX area. I enjoy learning about new technology. I mostly focus on PHP and Ruby on Rails.
If you would like to know the mime type of the file you can use the file command with the -i -b options. Example: > file -i -b 20090731.flv application/octet-stream