2006-10-31 15:23:16 +00:00
|
|
|
\section mimedb mimedb - lookup file information via the mime database
|
2005-09-20 13:31:55 +00:00
|
|
|
|
|
|
|
\subsection mimedb-synopsis Synopsis
|
|
|
|
<tt>mimedb [OPTIONS] FILES...</tt>
|
|
|
|
|
|
|
|
\subsection mimedb-description Description
|
|
|
|
|
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 07:56:01 +00:00
|
|
|
\c mimedb queries the MIME type database and the \c .desktop files
|
|
|
|
installed on the system in order to find information on
|
|
|
|
the files listed in <code>FILES</code>. The information that \c 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. \c mimedb can also
|
|
|
|
be used to launch the default action for this file.
|
2006-06-13 15:44:09 +00:00
|
|
|
|
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 07:56:01 +00:00
|
|
|
The following options are available:
|
|
|
|
|
|
|
|
- \c -t, \c --input-file-data determines the files' type both by their filename and by their contents (default behaviour).
|
|
|
|
- \c -f, \c --input-filename determines the files' type by their filename.
|
|
|
|
- \c -i, \c --input-mime specifies that the arguments are not files, but MIME types.
|
|
|
|
- \c -m, \c --output-mime outputs the MIME type of each file (default behaviour).
|
|
|
|
- \c -f, \c --output-description outputs the description of each MIME type.
|
|
|
|
- \c -a, \c --output-action outputs the default action of each MIME type.
|
|
|
|
- \c -l, \c --launch launches the default action for the specified files.
|
|
|
|
- \c -h, \c --help displays a help message and exit.
|
|
|
|
- \c -v, \c --version displays the version number and exits.
|
2005-09-20 13:31:55 +00:00
|
|
|
|