I have linux script which is working fine for creating password protected zip file (zip file will contain csv file) .Please find the same below.
Zip -e -rj zipfilename.zip /input/file/path/*.csv
This command will ask user input ,ie password.It will be like below.
we need to provide password..Then it will ask for confirmation like this
again we need to provide password..Done..It will create a password protected zip file.
Now I need to automate this script..It should not ask for user input..
Can anyone help me how to write script for automating this task.
Any help regarding this would be highly appreciated.
Thanks in Advance.