I have a assignment to create a password protected zip file from script and sent it over email.
I am using below command over sparc-sun-solaris2.10 environment to create a password protected zip file.
`zip -j -P password file1.csv.zip file1.csv`
It is failing with the below error message:
`zip warning: name not matched: file1.csv` `zip error: Nothing to do! (file1.csv.zip)`
It has got successful once but for subsequent runs it is failing continuously.
Any help upon this much appreciated.