{"id":4286,"date":"2014-02-24T01:19:30","date_gmt":"2014-02-24T01:19:30","guid":{"rendered":"http:\/\/www.webputzer.com\/?p=4286"},"modified":"2018-09-06T17:30:42","modified_gmt":"2018-09-06T17:30:42","slug":"7z-on-linux","status":"publish","type":"post","link":"http:\/\/www.webputzer.com\/?p=4286","title":{"rendered":"7z on Linux"},"content":{"rendered":"<p>I was pleasantly surprised to discover that 7zip is available for Centos and other Linux distributions. And it works just as it does on Windows. On Redhat-style distros you can get 7zip for Linux with the following:<\/p>\n<pre>\r\nyum -y install p7zip\r\n<\/pre>\n<p>It seems to me that I had to link \/usr\/bin\/7za to \/usr\/local\/bin7za (ln -s \/usr\/bin\/7za \/usr\/local\/bin\/7za)<\/p>\n<h2>To unarchive\u2026.<\/h2>\n<pre>\r\n7za x my_archive.7z\r\n<\/pre>\n<h2>To archive a folder\u2026<\/h2>\n<pre>\r\n7za -mx=9 a Primary_Folder.7z Primary_Folder\r\n<\/pre>\n<p>(Note: The -mx=9 flag chooses the \u201cUltra\u201d form of compression \u2013 see the man page for a ton of other commands)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was pleasantly surprised to discover that 7zip is available for Centos and other Linux distributions. And it works just as it does on Windows. On Redhat-style distros you can get 7zip for Linux with the following: yum -y install p7zip It seems to me that I had to link \/usr\/bin\/7za to \/usr\/local\/bin7za (ln -s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"footnotes":""},"categories":[21],"tags":[],"class_list":["post-4286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/4286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4286"}],"version-history":[{"count":0,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/4286\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/media\/4345"}],"wp:attachment":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4286"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}