{
    "content": [
        {
            "type": "text",
            "text": "# XDG-USER-DIR (man)\n\n## NAME\n\nxdg-user-dir - Find an XDG user dir\n\n## SYNOPSIS\n\nxdg-user-dir [NAME]\n\n## DESCRIPTION\n\nxdg-user-dir looks up the current path for one of the special XDG user dirs.\n\n## TLDR\n\n> Retrieve XDG user directory locations.\n\n- Display the home directory for the current user:\n  `xdg-user-dir`\n- Display the location of a user directory:\n  `xdg-user-dir {{DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS|...}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FILES**\n- **ENVIRONMENT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XDG-USER-DIR",
        "section": "",
        "mode": "man",
        "summary": "xdg-user-dir - Find an XDG user dir",
        "synopsis": "xdg-user-dir [NAME]",
        "tldr_summary": "Retrieve XDG user directory locations.",
        "tldr_examples": [
            {
                "description": "Display the home directory for the current user",
                "command": "xdg-user-dir"
            },
            {
                "description": "Display the location of a user directory",
                "command": "xdg-user-dir {{DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS|...}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "xdg-user-dirs-update",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/xdg-user-dirs-update/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "xdg-user-dir - Find an XDG user dir\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "xdg-user-dir [NAME]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "xdg-user-dir looks up the current path for one of the special XDG user dirs.\n\nThis command expects the name of an XDG user dir as argument. The possible names are:\nDESKTOP\nDOWNLOAD\nTEMPLATES\nPUBLICSHARE\nDOCUMENTS\nMUSIC\nPICTURES\nVIDEOS\n",
                "subsections": []
            },
            "FILES": {
                "content": "The values are looked up in the user-dirs.dir file. This file is created by the\nxdg-user-dirs-update utility.\n",
                "subsections": []
            },
            "ENVIRONMENT": {
                "content": "The XDGCONFIGHOME environment variable determines where the user-dirs.dirs file is located.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "xdg-user-dirs-update(1)\n\n\n\nXDG                                                                                  XDG-USER-DIR(1)",
                "subsections": []
            }
        }
    }
}