update-mime-database(1) User Commands update-mime-database(1)
NAME
update-mime-database - build the shared MIME_Info database cache
SYNOPSIS
update-mime-database -h | -v | mime-dir
DESCRIPTION
update-mime-database updates the shared mime-info cache according to the system described in the Shared MIME-Info Database specification
from the X Desktop Group.
OPTIONS
The following options are supported:
-h Display a command summary.
-v Display version information
OPERANDS
The following operands are supported:
MIME-dir The directory for which update-mime-database should rebuild the cache. This option is mandatory if no other option is pro-
vided.
EXAMPLES
Example 1: Update Shared mime-info Cache for /usr/share
example% update-mime-database /usr/share
ENVIRONMENT VARIABLES
See environ(5).
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/update-mime-datExecutable to build the shared MIME_Info database cache
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-vfs |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
gnome-vfs-mime-magic(4), gnome-vfs.applications(4), gnome-vfs.keys(4), gnome-vfs.mime(4)
Shared mime info at http://www.freedesktop.org.
NOTES
Original man page written by Filip Von Raemdonck (mechanix@debian.org).
Updated by Matt Keenan, Sun Microsystems Inc., 2004.
SunOS 5.10 6 Sep 2004 update-mime-database(1)