October 4th, 2011, 12:20 PM
Password protect a zip file in unix and mail it using unix script.
I need to password protect a zip file in unix and mail it using unix script.
i have tried using zip -P but it gave me the eroor that encryption was not supported.
The requirement is to provide the password in command line so that the script can zip the file using the password and send it on a particular mail on daily basis.
Please help in this regard.
October 4th, 2011, 01:13 PM
The zip you have doesn't support encryption, apparently. Find a version that does, or compile your own.
October 5th, 2011, 06:00 AM
i am a newbie.. so can you let me know how can i compile on my own or the other way
October 5th, 2011, 07:59 AM
Let's start with the basics - what version of unix are you using?
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc