You are not logged in.

#1 2014-11-25 17:20:09

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

How to handle inconsistent MIME-type results

How do other Archers get around (in scripts, etc) the inconsistencies of determining the MIME-type of files?
For example: this comparison between the results from the 'mimetype' (perl-file-mimeinfo package) and 'file' commands makes for very frustrating reading!
Even worse, the programs to determine MIME-types don't even fail gracefully in the same way.
I believe there are also Gnome (gvfs) and KDE-specific commands to determine MIME-types; do they behave any better?

Not Linux's (or even computing's) finest hour ...

Offline

#2 2014-11-25 18:00:18

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: How to handle inconsistent MIME-type results

I do agree that some uninstalled program leaves some of them behind. I'd like to know whether exist anything to remove these lost accessories.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB