{"id":101,"date":"2020-02-12T07:22:00","date_gmt":"2020-02-12T07:22:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=101"},"modified":"2024-02-06T08:18:59","modified_gmt":"2024-02-06T13:18:59","slug":"installing-and-running-7-zip-from-mac-terminal","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/installing-and-running-7-zip-from-mac-terminal\/","title":{"rendered":"Installing and running 7-zip from Mac terminal"},"content":{"rendered":"\n<p>You can download unarchiver from Apple store and use the unar command to use 7zip or use homebrew as follows. I am assuming you have homebrew installed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ brew update\n$ brew install p7zip<\/code><\/pre>\n\n\n\n<p>These command update brew and install p7zip. To zip a file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ 7z a myfile.7z mydirectory<\/code><\/pre>\n\n\n\n<p>To unzip<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ 7z x myfile.7z<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You can download unarchiver from Apple store and use the unar command to use 7zip or use homebrew as follows. I am assuming you have homebrew installed. These command update brew and install p7zip. To zip a file To unzip<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[327,33],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-mac-os","tag-7zip","tag-mac-os"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/101\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}