Link to home
Start Free TrialLog in
Avatar of Nazrul10
Nazrul10

asked on

ZIP file with a password

I am trying to zip a .csv file with a password in UNIX.
zip -P password test.zip test.csv
It giving me following error
zip error: Invalid command arguments (encryption not supported)
Any idea please
ASKER CERTIFIED SOLUTION
Avatar of mmarx82
mmarx82
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
use pkzip to include password in your zip file. Follow the link below,

https://pantherfile.uwm.edu/dtoth/www/pkzip.html#password

or try,

zip test.txt
crypt mypassword < test.zip > test.zip.crypt
Avatar of Nazrul10
Nazrul10

ASKER

Looks ok, But I cann't tested it because I don't have right to install 7-zip