When creating a zip file with password protection in Ubuntu 16.04, using the Nautilus context menu, I was asked for zip options like password protection.
Under Ubuntu 18.04 there seems to be no way to select any zip options. Therefore it is not possible to create a zip file with password protection using the Nautilus context menu.
Workarround: creating the zip file with shell command
zip -P pass123 zipfile.zip folder2zip/
Any ideas to create the password protected zip-file from Nautilus?
To create an encrypted zip file in Ubuntu 18.04, open up "Archive Manager" (
file-roller
), click on the top menu (labelled "Archive Manager"), and select "New Archive". Designate the name and destination for your new archive, and change to extension to.zip
. Under the "Other Options" sub-menu, create a password, thereby encrypting the archive. Click "Create", then drag or select the specified files into place, and you're done.After compressing the files into a zip format.
Open it and click on the three stacks on the right.
Tap on password and you can set any password for the zip file.
JOB DONE
Remember,to change password again,
Go to the password tab and type the new password
Click enter again a window will appear asking password.
Type in the old password and click
ok
to change the password of the archive.Check out this video How to password zip files in Ubuntu 17.10, although this is made for
ubuntu 17.10
this approach also works withubuntu 18.04