DragonFly On-Line Manual Pages
mimedb(1) fish mimedb(1)
NAME
mimedb -- lookup file information via the mime database
Synopsis
mimedb [OPTIONS] FILES...
Description
mimedb queries the MIME type database and the .desktop files installed
on the system in order to find information on the files listed in
FILES. The information that mimedb can retrieve includes the MIME type
for a file, a description of the type, and the default action that can
be performed on the file. mimedb can also be used to launch the default
action for this file.
The following options are available:
o -t, --input-file-data determines the files' type both by their
filename and by their contents (default behaviour).
o -f, --input-filename determines the files' type by their filename.
o -i, --input-mime specifies that the arguments are not files, but MIME
types.
o -m, --output-mime outputs the MIME type of each file (default
behaviour).
o -f, --output-description outputs the description of each MIME type.
o -a, --output-action outputs the default action of each MIME type.
o -l, --launch launches the default action for the specified files.
o -v, --version displays the version number and exits.
Version 2.2.0 Mon Jul 6 2015 mimedb(1)