LinuxCommandLibrary

zipcloak

Encrypt or decrypt ZIP archives

TLDR

Encrypt ZIP file

$ zipcloak [archive.zip]
copy
Decrypt ZIP file
$ zipcloak -d [archive.zip]
copy
Encrypt with output
$ zipcloak -O [encrypted.zip] [archive.zip]
copy
Quiet mode
$ zipcloak -q [archive.zip]
copy

SYNOPSIS

zipcloak [-d] [-O output] [options] zipfile

DESCRIPTION

zipcloak encrypts or decrypts ZIP archives by adding or removing password protection. When encrypting, it prompts for a password and applies encryption to all files within the archive. When decrypting with the -d flag, it removes encryption after verifying the original password.
By default, zipcloak modifies the archive in place, replacing the original file. The -O option allows writing the encrypted or decrypted result to a new file, preserving the original archive unchanged.
zipcloak uses standard ZIP encryption (PKZIP), which is widely compatible with most ZIP tools and operating systems. It is part of the Info-ZIP suite of utilities.

PARAMETERS

-d, --decrypt

Decrypt archive.
-O FILE
Output to new file.
-q, --quiet
Quiet mode.
-b PATH
Temp file path.
-h, --help
Show help.
-v, --version
Show version.

CAVEATS

Standard ZIP encryption is weak. Use 7z for stronger encryption. Part of Info-ZIP.

HISTORY

zipcloak is part of Info-ZIP utilities. It provides simple encryption for ZIP archives.

SEE ALSO

zip(1), unzip(1), 7z(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community