# phpman > man > zipcloak(1)

> **TLDR:** Encrypt the contents within a Zip archive.
>
- Encrypt the contents of a Zip archive:
  `zipcloak {{path/to/archive.zip}}`
- Decrypt the contents of a Zip archive:
  `zipcloak {{-d|--decrypt}} {{path/to/archive.zip}}`
- Output the encrypted contents into a new Zip archive:
  `zipcloak {{path/to/archive.zip}} {{-O|--output-file}} {{path/to/encrypted.zip}}`

*Source: tldr-pages*

---

[zipcloak(1)](https://www.chedong.com/phpMan.php/man/zipcloak/1/markdown)                            General Commands Manual                           [zipcloak(1)](https://www.chedong.com/phpMan.php/man/zipcloak/1/markdown)



## NAME
       zipcloak - encrypt entries in a zipfile


## SYNOPSIS
       _zipcloak_ [**-d**] [**-b** **path**] [**-h**] [**-v**] [**-L**] zipfile


## ARGUMENTS
       zipfile  Zipfile to encrypt entries in


## OPTIONS
### -b
       **--temp-path** path
              Use the directory given by path for the temporary zip file.


### -d
### --decrypt
              Decrypt encrypted entries (copy if given wrong password).


### -h
### --help
              Show a short help.


### -L
### --license
              Show software license.


### -O
       **--output-file** zipfile
              Write output to new archive zipfile, leaving original archive as is.


### -q
### --quiet
              Quiet operation.  Suppresses some informational messages.


### -v
### --version
              Show version information.


## DESCRIPTION
       _zipcloak_ encrypts all unencrypted entries in the zipfile.  This is the default action.


       The -d option is used to decrypt encrypted entries in the zipfile.


       _zipcloak_ **uses** **original** **zip** **encryption** **which** **is** **considered** **weak.**


       Note:  The  encryption  code  of this program is not copyrighted and is put in the public do‐
              main.  It was originally written in Europe and can  be  freely  distributed  from  any
              country including the U.S.A.  (Previously if this program was imported into the U.S.A,
              it could not be re-exported  from  the  U.S.A  to  another  country.)   See  the  file
              README.CR  included in the source distribution for more on this.  Otherwise, the Info-
              ZIP license applies.


## EXAMPLES
       To be added.


## BUGS
       Large files (> 2 GB) and large archives not yet supported.

       Split archives not yet supported.  A work around is to convert the split archive to a single-
       file  archive using _zip_ and then use _zipcloak_ on the single-file archive.  If needed, the re‐
       sulting archive can then be split again using _zip_.



## SEE ALSO
       [zip(1)](https://www.chedong.com/phpMan.php/man/zip/1/markdown), [unzip(1)](https://www.chedong.com/phpMan.php/man/unzip/1/markdown)

## AUTHOR
       Info-ZIP



                                         v3.0 of 8 May 2008                              [zipcloak(1)](https://www.chedong.com/phpMan.php/man/zipcloak/1/markdown)
