update-mime-database(1) User Commands update-mime-database(1)NAMEupdate-mime-database - build the shared MIME_Info database cache
SYNOPSISupdate-mime-database [-h] [-v] [-V] mime-dir
DESCRIPTIONupdate-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
-V Display verbose output
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 provided.
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-database Executable to build the shared
MIME_Info database cache
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │library/gnome/gnome-vfs │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Committed │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOupdate-desktop-database(1), attributes(5), environ(5), gnome-inter‐
faces(5)
Latest version of the GNOME Desktop User Guide for your platform.
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, 2007.
SunOS 5.11 08 Nov 2007 update-mime-database(1)