xdg-mime

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

copy
2
0
xdg-mime query filetype /tmp/foobar.png

source | details |

copy
1
0
xdg-mime query default image/png

source | details |

copy
0
0
xdg-mime install shinythings-shiny.xml

source | details |