{"id":10129,"date":"2020-05-30T14:34:20","date_gmt":"2020-05-30T14:34:20","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=10129"},"modified":"2020-05-30T14:34:20","modified_gmt":"2020-05-30T14:34:20","slug":"password-protect-file-archive-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/05\/password-protect-file-archive-ubuntu-20-04\/","title":{"rendered":"How to Compress Files to Password Protect Archive in Ubuntu 20.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/archive-manager.png\" alt=\"\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5931\" \/><\/p>\n<p>The default nautilus file browser allows to compress files into Zip, Tar.xz, 7z archive with no other options.<\/p>\n<p><i>What if you want to compress your data into other formats (e.g., rar, epub, jar, and more) with password protection, and change the compress level?<\/i><\/p>\n<p><b>1.)<\/b> Open <u>file roller<\/u> archive manager from &#8216;Show Applications&#8217; menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/open-archivemanager-450x228.jpg\" alt=\"\" width=\"450\" height=\"228\" class=\"aligncenter size-medium wp-image-10130\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/open-archivemanager-450x228.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/open-archivemanager.jpg 486w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p><b>2.)<\/b> Go to <i>menu > New Archive<\/i>, then you can:<\/p>\n<ul>\n<li>create with 24 supported arhive formats.<\/li>\n<li>type a filename, select location.<\/li>\n<li>and set password under Other Options (click expend) for epub, rar, zip, and more.<\/li>\n<li>finally click on Create button.<\/li>\n<\/ul>\n<p>NOTE: you need to run <code>sudo apt install rar unrar<\/code> command in terminal (Ctrl+Alt+T) and follow by <code>nautilus -q<\/code> to <b>enable rar support<\/b>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/create-archive.png\" alt=\"\" width=\"600\" height=\"360\" class=\"aligncenter size-full wp-image-10131\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/create-archive.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/create-archive-450x270.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>3.)<\/b> Next click on top left &#8216;<b>+<\/b>&#8216; icon and add your files to the archive, finally close the window and done.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/addfiles2archive.png\" alt=\"\" width=\"600\" height=\"294\" class=\"aligncenter size-full wp-image-10132\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/addfiles2archive.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/addfiles2archive-450x221.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>4.)<\/b> If you want to enable maximum compression level, install <b>dconf editor<\/b> from Ubuntu Software and launch it.<\/p>\n<p>Navigate to <u>org\/gnome\/file-roller\/general\/compression-level<\/u>, toggle off &#8216;Use default value&#8217; and set &#8216;Custom value&#8217; to &#8216;maximum&#8217;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/compresslevel.png\" alt=\"\" width=\"600\" height=\"374\" class=\"aligncenter size-full wp-image-10133\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/compresslevel.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/compresslevel-450x281.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>The default nautilus file browser allows to compress files into Zip, Tar.xz, 7z archive with no other options. What if you want to compress your data into other formats (e.g., rar, epub, jar, and more) with password protection, and change the compress level? 1.) Open file roller archive manager from &#8216;Show Applications&#8217; menu. 2.) Go [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1917,1918],"class_list":["post-10129","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-maximum-compression","tag-password-protect"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=10129"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10129\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=10129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=10129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=10129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}