{
    "mode": "man",
    "parameter": "zipcloak",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/zipcloak/1/json",
    "generated": "2026-06-15T14:39:25Z",
    "synopsis": "zipcloak [-d] [-b path] [-h] [-v] [-L] zipfile",
    "sections": {
        "NAME": {
            "content": "zipcloak - encrypt entries in a zipfile\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "zipcloak [-d] [-b path] [-h] [-v] [-L] zipfile\n\n",
            "subsections": []
        },
        "ARGUMENTS": {
            "content": "zipfile  Zipfile to encrypt entries in\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-b",
                    "content": "--temp-path path\nUse the directory given by path for the temporary zip file.\n\n",
                    "flag": "-b"
                },
                {
                    "name": "-d",
                    "content": "",
                    "flag": "-d"
                },
                {
                    "name": "--decrypt",
                    "content": "Decrypt encrypted entries (copy if given wrong password).\n\n",
                    "long": "--decrypt"
                },
                {
                    "name": "-h",
                    "content": "",
                    "flag": "-h"
                },
                {
                    "name": "--help",
                    "content": "Show a short help.\n\n",
                    "long": "--help"
                },
                {
                    "name": "-L",
                    "content": "",
                    "flag": "-L"
                },
                {
                    "name": "--license",
                    "content": "Show software license.\n\n",
                    "long": "--license"
                },
                {
                    "name": "-O",
                    "content": "--output-file zipfile\nWrite output to new archive zipfile, leaving original archive as is.\n\n",
                    "flag": "-O"
                },
                {
                    "name": "-q",
                    "content": "",
                    "flag": "-q"
                },
                {
                    "name": "--quiet",
                    "content": "Quiet operation.  Suppresses some informational messages.\n\n",
                    "long": "--quiet"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "--version",
                    "content": "Show version information.\n\n",
                    "long": "--version"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "zipcloak encrypts all unencrypted entries in the zipfile.  This is the default action.\n\n\nThe -d option is used to decrypt encrypted entries in the zipfile.\n\n\nzipcloak uses original zip encryption which is considered weak.\n\n\nNote:  The  encryption  code  of this program is not copyrighted and is put in the public do‐\nmain.  It was originally written in Europe and can  be  freely  distributed  from  any\ncountry including the U.S.A.  (Previously if this program was imported into the U.S.A,\nit could not be re-exported  from  the  U.S.A  to  another  country.)   See  the  file\nREADME.CR  included in the source distribution for more on this.  Otherwise, the Info-\nZIP license applies.\n\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "To be added.\n\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Large files (> 2 GB) and large archives not yet supported.\n\nSplit archives not yet supported.  A work around is to convert the split archive to a single-\nfile  archive using zip and then use zipcloak on the single-file archive.  If needed, the re‐\nsulting archive can then be split again using zip.\n\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                              zipcloak(1)",
            "subsections": []
        }
    },
    "summary": "zipcloak - encrypt entries in a zipfile",
    "flags": [
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": "--temp-path path Use the directory given by path for the temporary zip file."
        },
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--decrypt",
            "arg": null,
            "description": "Decrypt encrypted entries (copy if given wrong password)."
        },
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--help",
            "arg": null,
            "description": "Show a short help."
        },
        {
            "flag": "-L",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--license",
            "arg": null,
            "description": "Show software license."
        },
        {
            "flag": "-O",
            "long": null,
            "arg": null,
            "description": "--output-file zipfile Write output to new archive zipfile, leaving original archive as is."
        },
        {
            "flag": "-q",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--quiet",
            "arg": null,
            "description": "Quiet operation. Suppresses some informational messages."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Show version information."
        }
    ],
    "examples": [
        "To be added."
    ],
    "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"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Encrypt the contents within a Zip archive.",
        "examples": [
            {
                "description": "Encrypt the contents of a Zip archive",
                "command": "zipcloak {{path/to/archive.zip}}"
            },
            {
                "description": "Decrypt the contents of a Zip archive",
                "command": "zipcloak {{-d|--decrypt}} {{path/to/archive.zip}}"
            },
            {
                "description": "Output the encrypted contents into a new Zip archive",
                "command": "zipcloak {{path/to/archive.zip}} {{-O|--output-file}} {{path/to/encrypted.zip}}"
            }
        ]
    }
}