Linux Command Library
commands
Commands
basic
Basic
tips
Tips

update-mime-database

a program to build the Shared MIME-Info database cache

update-mime-database -h | -v | [ -V | -n ] MIME-DIR

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 from the X Desktop Group.

-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.

MIME-DIR
This is the directory for which update-mime-database should rebuild the cache. Mandatory if none of the options is provided.

Filip Van Raemdonck (mechanix@debian.org) wrote this manpage for the Debian GNU/Linux project, but it may be used by others.

Copyright (C) 2002 Thomas Leonard. You may redistribute copies of update-mime-database under the terms of the GNU General Public License.

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied