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
|
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
- \c FILES is a list of files to analyse
|
2005-09-20 13:31:55 +00:00
|
|
|
- \c -t, \c --input-file-data the specified files type should be determined both by their filename and by their contents (Default)
|
|
|
|
- \c -f, \c --input-filename the specified files type should be determined by their filename
|
|
|
|
- \c -i, \c --input-mime the arguments are not files but mimetypes
|
|
|
|
- \c -m, \c --output-mime the output will be the mimetype of each file (Default)
|
|
|
|
- \c -f, \c --output-description the output will be the description of each mimetype
|
|
|
|
- \c -a, \c --output-action the output will be the default action of each mimetype
|
|
|
|
- \c -l, \c --launch launch the default action for the specified file(s)
|
2006-06-13 15:44:09 +00:00
|
|
|
- \c -h, \c --help display a help message and exit
|
|
|
|
- \c -v, \c --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
|
2007-08-01 17:35:24 +00:00
|
|
|
a file. The information that mimedb can retrieve includes the mimetype
|
2006-06-13 15:44:09 +00:00
|
|
|
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.
|
2005-09-20 13:31:55 +00:00
|
|
|
|