ZIP file – Password protection using UNIX command.

Asked By 0 points N/A Posted on -

I want to protect zip file with password with the help of UNIX script.

When I’m trying with the zip-p it gives me error message which says there are problems with encryption.

I want this facility to send mails with password protected zip file in the way of UNIX command.

Any help.  

Answered By 10 points N/A #108504

ZIP file – Password protection using UNIX command.


Hallo Jaya,

Usually the zip formats in unix have support for password encryption. So just check very well the properties of the zip-p that you are using under its property settings it should be having encryption support. If it does not have support for encryption then you will have to apparently get a version that supports encryption or you can compile it on your won.

You can try gzip, which is another zip file format, although I am not sure whether it offers support for password protection and encryption. Alternatively you can set the password using the crypt, pgp and so forth which are mechanisms for encrypting files.

Hope this helps.


Lee Hung

Login/Register to Answer

Related Questions