Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

update-mime-database (1)

Name

update-mime-database - Info database cache

Synopsis

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

Description


update-mime-database(1)         X Desktop Group        update-mime-database(1)



NAME
       update-mime-database - a program to build the Shared MIME-Info database
       cache


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


DESCRIPTION
       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-database  should
              rebuild the cache. Mandatory if none of the options is provided.


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


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




ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | data/shared-mime-info |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+
NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source was downloaded from  http://freedesktop.org/~hadess/shared-mime-
       info-1.8.tar.xz

       Further information about this software can be found on the open source
       community website at https://freedesktop.org/wiki/Software/shared-mime-
       info/.



Filip Van Raemdonck               26 Jul 2002          update-mime-database(1)