update-mime-database1
A program to build the shared mime-info database cache
Usage
update-mime-database {-h | -v | [{-V | -n}]
MIME-DIR}
Overview
update-mime-database is a program which is responsible for updating the shared mime-info cache according to the system described in the Shared MIME-Info Database specification ⟨http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec⟩ from the X Desktop Group.
Options
-
-h -
Print out a command summary.
-
-v -
Print out the version information.
-
-V -
Be verbose.
-
-n -
Only update if MIME-DIR/packages/ or a file in that directory is newer than MIME-DIR/version. This is useful for package pre- and post-installation scripts.
Arguments
- MIME-DIR
-
This is the directory for which
update-mime-databaseshould rebuild the cache. Mandatory if none of the options is provided.
Licence
Copyright (C) 2002 Thomas Leonard.
You may redistribute copies of update-mime-database under the terms of the GNU General Public License.
Releases
12 releases since Debian 3.1 (Sarge); the text changed 5 times.
-V since Debian 4.0 (Etch);
-n since Debian 9 (Stretch).