18

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?

  • 2
    You may be interested in changing file-manager to full-feature one such as Caja (sudo apt install caja). See my Q&A for details. – N0rbert May 17 '18 at 8:41
  • 1
    There was an option to encrypt on 16.04 via GUI, if I remember correctly. – Aryo Adhi May 21 '18 at 4:08
9

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.

  • 2
    Are you sure that you are talking about Ubuntu 18.04. The way you describe was the way under Ubuntu 16.04. Under Ubuntu 18.04 I cannot find any "Other Options" submenu (neither as button nor as contect menu). – Manfred Steiner Jun 15 '18 at 2:49
  • It works in 18.04 for me. What version of file-roller do you have installed? Are you running the Gnome 3 desktop? Unfortunately, my rather unspectacular answer doesn't give a nautilus-based solution, but the user interface of Archive Manager is pretty straightforward and should do well as another workaround. – user728899 Jun 15 '18 at 4:08
  • You are right, using file-roller (Archivverwaltung in german language version) is a workaround to create a password protected zip file without shell. Thanks for this useful hint. – Manfred Steiner Jun 16 '18 at 5:08
  • //, Works on 18.10 – Nathan Basanese Jan 25 at 11:29
3

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. remember,to change password again go to the password tab and type the new password and click enter again a window will appear asking password, type in the old password and tap ok to change the password of the archive.

  • 1
    working for version 18.04 – Anantpatel Nov 5 '18 at 14:04
  • tnx you a lot, such method is much faster and comfortable – Rib47 Dec 19 '18 at 9:38
  • A really comfortable approach! +1 – Jander May 17 at 12:51
0

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 with ubuntu 18.04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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