mimedb(1) fish mimedb(1)
NAME
mimedb - mimedb - lookup file information via the mime database
mimedb - lookup file information via the mime database
Synopsis
mimedb [OPTIONS] FILES...
Description
o FILES is a list of files to analyse
o -t, --input-file-data the specified files type should be determined both by their filename and by their contents (Default)
o -f, --input-filename the specified files type should be determined by their filename
o -i, --input-mime the arguments are not files but mimetypes
o -m, --output-mime the output will be the mimetype of each file (Default)
o -f, --output-description the output will be the description of each mimetype
o -a, --output-action the output will be the default action of each mimetype
o -l, --launch launch the default action for the specified file(s)
o -h, --help display a help message and exit
o -v, --version display version number and exit
The mimedb command is used to query the mimetype database and the .desktop files installed on the system in order to find information on a
file. The information that mimedb can retrieve includes the mimetype for a file, a description of the type and what its default action is.
mimedb can also be used to launch the default action for this file.
Version 1.23.1 Sun Jan 8 2012 mimedb(1)