On debian the file -i command is returning incorrect information for CSV files, when I run it the mime type is returned as below. $ file -i courses.csv courses.csv: text/plain; charset=utf-8 I've ...
As seen elsewhere, docx, xlsx and pttx are ZIPs. When uploading them to my web application, file (via libmagic andpython-magic) detects them as being ZIP. I store the contents of the file as a blob ...
I have some old HTML files that were created elsewhere by someone else. Many of them don't, for some reason, have the .html extension on them. I don't want to have to change them if possible, but ...