xdg-mime

command line tool for querying information about file type handling and adding descriptions for new file types

   xdg-mime - command line tool for querying information about file type handling
and adding descriptions for new file types

Synopsis

xdg-mime query { filetype | default } ...

xdg-mime default application mimetype(s)

xdg-mime install [--mode mode] [--novendor] mimetypes-file

xdg-mime uninstall [--mode mode] mimetypes-file

xdg-mime { --help | --manual | --version }

Use 'man xdg-mime' or 'xdg-mime --manual' for additional info.