Password for zip in shell script - TechRepublic
General discussion
June 12, 2001 at 02:08 AM
phreds

Password for zip in shell script

by phreds . Updated 24 years, 12 months ago

I need to write a shell script and use the ZIP with -e option to encript ouput file.
(zip -e outputfile [inputfiles….] )
When using the the -e option the script stops and waits for my input of the password and its confirmation.
Is there any wayto write the script to add the password in the script and have the outpur file encripted?

-Fred

This discussion is locked

All Comments