← Back to context

Comment by Karellen

11 years ago

Thanks for the reply.

If not xdg-mime(1) then, do you know of another file(1)-like command-line app which does use the shared-mime-info database?

For use on the command line, feel free to use xdg-mime (it does not just do mime types, it also does associations with them which means you can view and change associations between file types from it). I don't know of any other tool like it although I was working on one in python (but it's not production ready).