<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2001/201 GNOME 2.x for Solaris-->
<!--ARC : LSARC 2006/202 GNOME 2.15 - Vermillion-->
<!ENTITY cmd "update-mime-database">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2004,2007 Sun Microsystems, Inc. All Rights Reserved.">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="update-mime-database-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>update-mime-database</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">08 Nov 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>update-mime-database</primary></indexterm><indexterm>
<primary>build the shared MIME_Info database cache</primary></indexterm>
<refnamediv id="update-mime-database-1-name"><refname>update-mime-database
</refname><refpurpose>build the shared MIME_Info database cache</refpurpose>
</refnamediv>
<refsynopsisdiv id="update-mime-database-1-synp"><title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command>
<arg choice="opt"><option>h</option></arg>
<arg choice="opt"><option>v</option></arg>
<arg choice="opt"><option>V</option></arg>
<arg choice="plain"><option role="nodash">mime-dir</option></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1 id="update-mime-database-1-desc"><title>&desc-tt;</title>
<para><command>&cmd;</command> updates the shared mime-info cache according
to the system described in the Shared MIME-Info Database specification from
the X Desktop Group.</para>
</refsect1>
<refsect1 id="update-mime-database-1-opts"><title>&opts-tt;</title>
<para>The following options are supported:</para>
<variablelist termlength="narrow">
<varlistentry>
<term><option>h</option></term>
<listitem><para>
Display a command summary.</para>
</listitem></varlistentry>
<varlistentry>
<term><option>v</option></term>
<listitem><para>
Display version information</para>
</listitem></varlistentry>
<varlistentry>
<term><option>V</option></term>
<listitem><para>
Display verbose output</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="update-mime-database-1-oper"><title>&oper-tt;</title>
<para>The following operands are supported:</para>
<variablelist termlength="narrow">
<varlistentry><term><option role="nodash"><replaceable>mime-dir</replaceable></option></term>
<listitem><para>The directory for which <command>&cmd;</command> should rebuild
the cache. This option is mandatory if no other option is provided.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="update-mime-database-1-exam"><title>&exam-tt;</title>
<example role="example">
<title>Update Shared mime-info Cache for /usr/share</title>
<para><screen>example% <userinput>&cmd; /usr/share</userinput></screen></para>
</example>
</refsect1>
<refsect1 id="update-mime-database-1-envr"><title>&envr-tt;</title>
<para>See <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>
5</manvolnum></citerefentry>.</para>
</refsect1>
<refsect1 id="update-mime-database-1-exit"><title>&exit-tt;</title>
<para>The following exit values are returned:</para>
<variablelist termlength="xtranarrow">
<varlistentry><term><returnvalue>0</returnvalue></term><listitem><para>Application
exited successfully</para>
</listitem></varlistentry>
<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
exited with failure</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="update-mime-database-1-file"><title>&file-tt;</title>
<para>The following files are used by this application:</para>
<variablelist termlength="wide">
<varlistentry><term><filename>/usr/bin/&cmd;</filename></term><listitem><para>
Executable to build the shared MIME_Info database cache</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="update-mime-database-1-attr"><title>&attr-tt;</title>
<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
valign="middle">ATTRIBUTE VALUE</entry></row>
</thead>
<tbody>
<row><entry><para>Availability</para></entry><entry><para>library/gnome/gnome-vfs</para></entry></row>
<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
colname="COLSPEC1"><para>Committed</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="update-mime-database-1-also"><title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para>
<citerefentry><refentrytitle>update-desktop-database</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gnome-interfaces</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
<para>Latest version of the <citetitle>GNOME Desktop User Guide</citetitle>
for your platform.</para>
<para>Shared MIME info at <literal>http://www.freedesktop.org/</literal>.</para>
</refsect1>
<refsect1 id="update-mime-database-1-note"><title>&note-tt;</title>
<para>Original man page written by Filip Von Raemdonck (mechanix@debian.org).
</para>
<para>Updated by Matt Keenan, Sun Microsystems Inc., 2004, 2007.</para>
</refsect1>
</refentry>
