Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

is there a way to add a password to an existing .zip file in Ubuntu?

share|improve this question

1 Answer 1

To encrypt a zip file after it has been created, you can use zipcloak

The syntax is:

zipcloak foo.zip

You will be prompted to give the password for the zip file called foo.zip

You can zip a file(s) in creating a zip file using the -e parameter i.e.

zip -e foo.zip file1
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.