{
    "mode": "man",
    "parameter": "update-mime-database",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/update-mime-database/1/json",
    "generated": "2026-06-03T00:26:51Z",
    "synopsis": "update-mime-database -h | -v | [ -V | -n ] MIME-DIR",
    "sections": {
        "NAME": {
            "content": "update-mime-database - a program to build the Shared MIME-Info database cache\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "update-mime-database -h | -v | [ -V | -n ] MIME-DIR\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "update-mime-database  is  a  program  which  is responsible for updating the shared mime-info\ncache according to the system  described  in  the  Shared  MIME-Info  Database  specification\n⟨http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec⟩  from  the  X  Desktop\nGroup.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h",
                    "content": "",
                    "flag": "-h"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "-V",
                    "content": "",
                    "flag": "-V"
                },
                {
                    "name": "-n",
                    "content": "DIR/version. This is useful for package pre- and post-installation scripts.\n\n",
                    "flag": "-n"
                }
            ]
        },
        "ARGUMENTS": {
            "content": "MIME-DIR\nThis  is the directory for which update-mime-database should rebuild the cache. Manda‐\ntory if none of the options is provided.\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Filip Van Raemdonck  (mechanix@debian.org)  wrote  this  manpage  for  the  Debian  GNU/Linux\nproject, but it may be used by others.\n\n",
            "subsections": []
        },
        "LICENCE": {
            "content": "Copyright (C) 2002 Thomas Leonard.\nYou may redistribute copies of update-mime-database under the terms of the GNU General Public\nLicense.\n\n\n\n\nFilip Van Raemdonck                          26 Jul 2002                     update-mime-database(1)",
            "subsections": []
        }
    },
    "summary": "update-mime-database - a program to build the Shared MIME-Info database cache",
    "flags": [
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": "DIR/version. This is useful for package pre- and post-installation scripts."
        }
    ],
    "examples": [],
    "see_also": []
}