{"id":120476,"date":"2024-04-07T10:00:27","date_gmt":"2024-04-07T01:00:27","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=120476"},"modified":"2024-04-07T08:20:38","modified_gmt":"2024-04-06T23:20:38","slug":"macos-linux-7-zip","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/macos-linux-7-zip\/","title":{"rendered":"\u3010\u9ad8\u5727\u7e2e\u3011macOS\u3084Linux\u3067\u3082\u300c7-Zip\u300d\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240406_115812.jpg\" alt=\"S 20240406 115812\" title=\"s_20240406_115812.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u5727\u7e2e\u30fb\u89e3\u51cd\u30c4\u30fc\u30eb\u300c7-Zip\u300d\u3002<\/p>\n<p>Windows\u7528\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u3057\u3066\u6709\u540d\u3067\u3059\u304c\u3001\u5b9f\u306fmacOS\u3084Linux\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>GUI\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u5145\u5b9f\u3057\u305fmacOS\u3084Linux\u306a\u3089\u3070\u7279\u306b\u56f0\u308b\u3053\u3068\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ee5\u4e0bmacOS\u3084Linux\u30677-Zip\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>7-Zip\u306emacOS\/Linux\u7248\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h2>\n<p>7-Zip\u306emacOS\/Linux\u7248\u306f<a href=\"https:\/\/www.7-zip.org\/download.html\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u8a18\u4e8b\u57f7\u7b46\u6642\u3001\u6700\u65b0\u5b89\u5b9a\u7248\u306f 7-Zip 23.01\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240406_120401.jpg\" alt=\"S 20240406 120401\" title=\"s_20240406_120401.jpg\" border=\"0\" width=\"898\" height=\"514\" \/><\/p>\n<p>\u4f8b\u3048\u3070macOS\u306e\u5834\u5408\u306f<code>7z2301-mac.tar.xz<\/code>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u4e2d\u306b\u542b\u307e\u308c\u308b<code>7zz<\/code>\u3092\u30d1\u30b9\u304c\u901a\u3063\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059(<code>\/usr\/local\/bin<\/code>\u306a\u3069)\u3002macOS\u306e\u5834\u5408\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u306e\u305f\u3081\u305d\u306e\u307e\u307e\u3067\u306f\u5b9f\u884c\u3067\u304d\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305d\u306e\u5834\u5408\u306f\u53f3\u30af\u30ea\u30c3\u30af\u304b\u3089\u300c\u958b\u304f\u300d\u3092\u5b9f\u884c\u3057\u307e\u3059(\u521d\u56de\u306e\u307f)\u3002<\/p>\n<p>macOS\u306e\u5834\u5408\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>MacPorts\u306e\u5834\u5408:<\/p>\n<pre>\r\nsudo port install 7zip\r\n<\/pre>\n<p>Homebrew\u306e\u5834\u5408:<\/p>\n<pre>\r\nbrew install sevenzip\r\n<\/pre>\n<p>\u306a\u304a\u516c\u5f0f\u7248\u304c\u516c\u958b\u3055\u308c\u308b\u524d\u306b\u5229\u7528<code>p7zip<\/code>\u306f\u30d5\u30a9\u30fc\u30af\u7248\u3067\u5143\u306b\u306a\u3063\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304f\u3001\u73fe\u5728\u306f\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3055\u308c\u3066\u3044\u306a\u3044\u6a21\u69d8\u3067\u3059\u3002\u3069\u3046\u305b\u306a\u3089\u3070\u516c\u5f0f\u7248\u3092\u4f7f\u3063\u305f\u65b9\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>7zz\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>7-Zip\u306e\u516c\u5f0fCLI\u30c4\u30fc\u30eb\u306f7zz\u3068\u3044\u3046\u540d\u524d\u3067\u3001\u4ee5\u4e0b\u306e\u5f62\u5f0f\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n7zz \u30b3\u30de\u30f3\u30c9 \u30b9\u30a4\u30c3\u30c1 \u30a2\u30fc\u30ab\u30a4\u30d6\u30d5\u30a1\u30a4\u30eb\u540d\u3001\u30d5\u30a1\u30a4\u30ebor\u30d5\u30a9\u30eb\u30c0\r\n<\/pre>\n<p>a\u3084x\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3067\u52d5\u4f5c\u3092\u5236\u5fa1\u3057\u3001\u30b9\u30a4\u30c3\u30c1\u3067\u7d30\u304b\u306a\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h3>\u4f7f\u7528\u4f8b<\/h3>\n<p>\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u542b\u307e\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u5727\u7e2e(a\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528):<\/p>\n<pre>\r\n7zz a backup.7z mydir\r\n<\/pre>\n<p>\u6307\u5b9a\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d6\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd(x\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528):<\/p>\n<pre>\r\n7zz x backup.7z\r\n<\/pre>\n<p>\u30b3\u30a2\u6570\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408<code>-mmt<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5168\u3066\u306e\u30b3\u30a2\u304c\u4f7f\u308f\u308c\u308b\u3068\u8ca0\u8377\u304c\u9ad8\u304f\u306a\u308a\u3059\u304e\u308b\u5834\u5408\u3001<code>-mmt1<\/code>\u3092\u6307\u5b9a\u3059\u308c\u3070\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre>\r\n7zz a -mmt1 backup.7z mydir\r\n<\/pre>\n<p>\u305d\u306e\u307e\u307e\u5b9f\u884c\u3059\u308b\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre>Usage: 7zz &lt;command&gt; [&lt;switches&gt;...] &lt;archive_name&gt; [&lt;file_names&gt;...] [@listfile]\r\n\r\n&lt;Commands&gt;\r\n  a : Add files to archive\r\n  b : Benchmark\r\n  d : Delete files from archive\r\n  e : Extract files from archive (without using directory names)\r\n  h : Calculate hash values for files\r\n  i : Show information about supported formats\r\n  l : List contents of archive\r\n  rn : Rename files in archive\r\n  t : Test integrity of archive\r\n  u : Update files to archive\r\n  x : eXtract files with full paths\r\n\r\n&lt;Switches&gt;\r\n  -- : Stop switches and @listfile parsing\r\n  -ai[r[-|0]]{@listfile|!wildcard} : Include archives\r\n  -ax[r[-|0]]{@listfile|!wildcard} : eXclude archives\r\n  -ao{a|s|t|u} : set Overwrite mode\r\n  -an : disable archive_name field\r\n  -bb[0-3] : set output log level\r\n  -bd : disable progress indicator\r\n  -bs{o|e|p}{0|1|2} : set output stream for output\/error\/progress line\r\n  -bt : show execution time statistics\r\n  -i[r[-|0]]{@listfile|!wildcard} : Include filenames\r\n  -m{Parameters} : set compression Method\r\n    -mmt[N] : set number of CPU threads\r\n    -mx[N] : set compression level: -mx1 (fastest) ... -mx9 (ultra)\r\n  -o{Directory} : set Output directory\r\n  -p{Password} : set Password\r\n  -r[-|0] : Recurse subdirectories for name search\r\n  -sa{a|e|s} : set Archive name mode\r\n  -scc{UTF-8|WIN|DOS} : set charset for console input\/output\r\n  -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files\r\n  -scrc[CRC32|CRC64|SHA1|SHA256|*] : set hash function for x, e, h commands\r\n  -sdel : delete files after compression\r\n  -seml[.] : send archive by email\r\n  -sfx[{name}] : Create SFX archive\r\n  -si[{name}] : read data from stdin\r\n  -slp : set Large Pages mode\r\n  -slt : show technical information for l (List) command\r\n  -snh : store hard links as links\r\n  -snl : store symbolic links as links\r\n  -sni : store NT security information\r\n  -sns[-] : store NTFS alternate streams\r\n  -so : write data to stdout\r\n  -spd : disable wildcard matching for file names\r\n  -spe : eliminate duplication of root folder for extract command\r\n  -spf[2] : use fully qualified file paths\r\n  -ssc[-] : set sensitive case mode\r\n  -sse : stop archive creating, if it can't open some input file\r\n  -ssp : do not change Last Access Time of source files while archiving\r\n  -ssw : compress shared files\r\n  -stl : set archive timestamp from the most recently modified file\r\n  -stm{HexMask} : set CPU thread affinity mask (hexadecimal number)\r\n  -stx{Type} : exclude archive type\r\n  -t{Type} : Set type of archive\r\n  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options\r\n  -v{Size}[b|k|m|g] : Create volumes\r\n  -w[{path}] : assign Work directory. Empty path means a temporary directory\r\n  -x[r[-|0]]{@listfile|!wildcard} : eXclude filenames\r\n  -y : assume Yes on all queries\r\n<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>macOS\u3084Linux\u3067\u300c7-Zip\u300d\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u7248\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306eOS\u3067\u30e1\u30b8\u30e3\u30fc\u306agzip\u3084bzip2\u306a\u3069\u306e\u5727\u7e2e\u7387\u30fb\u30b9\u30d4\u30fc\u30c9\u306b\u4e0d\u6e80\u304c\u3042\u308b\u5834\u5408\u3001\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/uploads\/software\/1357\/s_icon.png\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>7-Zip<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"http:\/\/www.7-zip.org\/\">http:\/\/www.7-zip.org\/<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/1357-7-zip\">https:\/\/softantenna.com\/softwares\/1357-7-zip<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>\u9ad8\u5727\u7e2e\u7387\u3092\u8a87\u308b7z\u5f62\u5f0f\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d0\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u5727\u7e2e\u30fb\u89e3\u51cd\u30c4\u30fc\u30eb\u300c7-Zip\u300d\u3002 Windows\u7528\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u3057\u3066\u6709\u540d\u3067\u3059\u304c\u3001\u5b9f\u306fmacOS\u3084Linux\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 GUI\u306f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":120500,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[3501,37,3480],"class_list":["post-120476","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-7zip","tag-linux","tag-macos"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/120476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=120476"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/120476\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/120500"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=120476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=120476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=120476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}