I would like to know whether it is possible to do the following via CLI.
I have a Folder
F which contains several sub folders and some files. I want to compress folder
.zip file with the "password-only-extract".
Go to the relevant folder using the
(If your folder
Then, type in your terminal:
This will prompt you for a password. Give it, and that will create a password-protected zip file from that folder.
There is an option called
The encryption of zip files is weak and can be broken very easily. Instead use 7zip.
Is recommendable not typing the password in the shell since it's visible to anyone with access to the