Is there a way to find out the MIME type (or is it called \"Content-Type\"?) of a file in a Linux bash script?
The reason I need it is because ImageShack appears to
file version < 5 : file -i -b /path/to/file file version >=5 : file --mime-type -b /path/to/file