{
    "content": [
        {
            "type": "text",
            "text": "# zipnote (man)\n\n## NAME\n\nzipnote - write the comments in zipfile to stdout, edit comments and rename files in zipfile\n\n## SYNOPSIS\n\nzipnote [-w] [-b path] [-h] [-v] [-L] zipfile\n\n## DESCRIPTION\n\nzipnote writes the comments in a zipfile to stdout.  This is the default mode.  A second mode\nallows updating the comments in a zipfile as well as allows changing the names of  the  files\nin the zipfile.  These modes are described below.\n\n## TLDR\n\n> View, add, or edit a Zip archive's comments.\n\n- View the comments on a Zip archive:\n  `zipnote {{path/to/file.zip}}`\n- Extract the comments on a Zip archive to a file:\n  `zipnote {{path/to/file.zip}} > {{path/to/file.txt}}`\n- Add/Update comments in a Zip archive from a file:\n  `zipnote < {{path/to/file.txt}} -w {{path/to/file.zip}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **ARGUMENTS**\n- **OPTIONS** (5 subsections)\n- **DESCRIPTION**\n- **EXAMPLES**\n- **BUGS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "zipnote",
        "section": "",
        "mode": "man",
        "summary": "zipnote - write the comments in zipfile to stdout, edit comments and rename files in zipfile",
        "synopsis": "zipnote [-w] [-b path] [-h] [-v] [-L] zipfile",
        "tldr_summary": "View, add, or edit a Zip archive's comments.",
        "tldr_examples": [
            {
                "description": "View the comments on a Zip archive",
                "command": "zipnote {{path/to/file.zip}}"
            },
            {
                "description": "Extract the comments on a Zip archive to a file",
                "command": "zipnote {{path/to/file.zip}} > {{path/to/file.txt}}"
            },
            {
                "description": "Add/Update comments in a Zip archive from a file",
                "command": "zipnote < {{path/to/file.txt}} -w {{path/to/file.zip}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-w",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-b",
                "long": null,
                "arg": null,
                "description": "Use path for the temporary zip file."
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-L",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "To write all comments in a zipfile to stdout use for example",
            "zipnote foo.zip > foo.tmp",
            "This writes all comments in the zipfile foo.zip to the file foo.tmp in a specific format.",
            "If  desired,  this file can then be edited to change the comments and then used to update the",
            "zipfile.",
            "zipnote -w foo.zip < foo.tmp",
            "The names of the files in the zipfile can also be changed in this way.  This is done by  fol‐",
            "lowing lines like",
            "\"@ name\"",
            "in the created temporary file (called foo.tmp here) with lines like",
            "\"@=newname\"",
            "and then using the -w option as above."
        ],
        "see_also": [
            {
                "name": "zip",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zip/1/json"
            },
            {
                "name": "unzip",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/unzip/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "ARGUMENTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-w",
                        "lines": 1,
                        "flag": "-w"
                    },
                    {
                        "name": "-b",
                        "lines": 2,
                        "flag": "-b"
                    },
                    {
                        "name": "-h",
                        "lines": 1,
                        "flag": "-h"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-L",
                        "lines": 1,
                        "flag": "-L"
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "zipnote - write the comments in zipfile to stdout, edit comments and rename files in zipfile\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "zipnote [-w] [-b path] [-h] [-v] [-L] zipfile\n\n",
                "subsections": []
            },
            "ARGUMENTS": {
                "content": "zipfile  Zipfile to read comments from or edit.\n\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-w",
                        "content": "",
                        "flag": "-w"
                    },
                    {
                        "name": "-b",
                        "content": "Use path for the temporary zip file.\n",
                        "flag": "-b"
                    },
                    {
                        "name": "-h",
                        "content": "",
                        "flag": "-h"
                    },
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-L",
                        "content": "",
                        "flag": "-L"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "zipnote writes the comments in a zipfile to stdout.  This is the default mode.  A second mode\nallows updating the comments in a zipfile as well as allows changing the names of  the  files\nin the zipfile.  These modes are described below.\n\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "To write all comments in a zipfile to stdout use for example\n\nzipnote foo.zip > foo.tmp\n\nThis writes all comments in the zipfile foo.zip to the file foo.tmp in a specific format.\n\n\nIf  desired,  this file can then be edited to change the comments and then used to update the\nzipfile.\n\nzipnote -w foo.zip < foo.tmp\n\nThe names of the files in the zipfile can also be changed in this way.  This is done by  fol‐\nlowing lines like\n\"@ name\"\nin the created temporary file (called foo.tmp here) with lines like\n\"@=newname\"\nand then using the -w option as above.\n\n",
                "subsections": []
            },
            "BUGS": {
                "content": "The temporary file format is rather specific and zipnote is rather picky about it.  It should\nbe easier to change file names in a script.\n\nDoes not yet support large (> 2 GB) or split archives.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "zip(1), unzip(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Info-ZIP\n\n\n\nv3.0 of 8 May 2008                               zipnote(1)",
                "subsections": []
            }
        }
    }
}