Ubuntu – Create zip file with password protection in Ubuntu 18.04

18.04nautiluspasswordzip

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?

Best Answer

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.