{"id":44,"date":"2010-07-21T20:39:06","date_gmt":"2010-07-21T20:39:06","guid":{"rendered":"https:\/\/shan.info\/new\/unzip\/"},"modified":"2010-07-21T20:39:06","modified_gmt":"2010-07-21T20:39:06","slug":"unzip","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/unzip\/","title":{"rendered":"unzip"},"content":{"rendered":"<h1>winscp \u6dfb\u52a0<\/h1>\n<h1>unzip -d &#8220;!&#8221; &#8220;!&#8221;<\/h1>\n<h1><span style=\"font-size: small;\">linux <strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong>\u529f \u80fd\u8bf4\u660e\uff1a<strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong>\u4e3a.zip \u538b\u7f29\u6587\u4ef6\u7684\u89e3\u538b\u7f29\u7a0b\u5e8f\u3002<br \/> <strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong> [-Z]\u00a0 [-cflptTuvz[abjnoqsCKLMVWX$\/:]]\u00a0 file[.zip]\u00a0 [file(s) &#8230;]<br \/> [-x xfile(s) &#8230;] [-d exdir]<br \/> \u8bed\u3000\u3000\u6cd5\uff1a<strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong> [-cflptuvz][-agCjLMnoqsVX][-P &lt;\u5bc6\u7801&gt;][.zip\u6587\u4ef6][\u6587\u4ef6][-d &lt;\u76ee\u5f55&gt;][-x &lt;\u6587\u4ef6&gt;] \u6216 <strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong> [-Z]<br \/> \u53c2\u3000\u3000\u6570\uff1a<br \/> -z\u00a0\u00a0 \u4ec5\u663e\u793a\u538b\u7f29\u6587\u4ef6\u7684\u5907\u6ce8\u6587\u5b57\u3002<br \/> -a\u00a0\u00a0 \u5bf9\u6587\u672c\u6587\u4ef6\u8fdb\u884c\u5fc5\u8981\u7684\u5b57\u7b26\u8f6c\u6362\u3002<br \/> -b\u00a0\u00a0 \u4e0d\u8981\u5bf9\u6587\u672c\u6587\u4ef6\u8fdb\u884c\u5b57\u7b26\u8f6c\u6362\u3002 <br \/> -C\u00a0\u00a0 \u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u6587\u4ef6\u540d\u79f0\u533a\u5206\u5927\u5c0f\u5199\u3002<br \/> -j\u00a0\u00a0 \u4e0d\u5904\u7406\u538b\u7f29\u6587\u4ef6\u4e2d\u539f\u6709\u7684\u76ee\u5f55\u8def\u5f84\u3002<br \/> -L\u00a0\u00a0 \u5c06\u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u5168\u90e8\u6587\u4ef6\u540d\u6539\u4e3a\u5c0f\u5199\u3002<br \/> -M\u00a0\u00a0 \u5c06\u8f93\u51fa\u7ed3\u679c\u9001\u5230more\u7a0b\u5e8f\u5904\u7406\u3002<br \/> -n\u00a0\u00a0 \u89e3\u538b\u7f29\u65f6\u4e0d\u8981\u8986\u76d6\u539f\u6709\u7684\u6587\u4ef6\u3002<br \/> -o\u00a0\u00a0 \u4e0d\u5fc5\u5148\u8be2\u95ee\u7528\u6237\uff0c<strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong>\u6267\u884c\u540e\u8986\u76d6\u539f\u6709\u6587\u4ef6\u3002<br \/> -P&lt;\u5bc6\u7801&gt;\u00a0\u00a0 \u4f7f\u7528zip\u7684\u5bc6\u7801\u9009\u9879\u3002<br \/> -q\u00a0\u00a0 \u6267\u884c\u65f6\u4e0d\u663e\u793a\u4efb\u4f55\u4fe1\u606f\u3002<br \/> -s\u00a0\u00a0 \u5c06\u6587\u4ef6\u540d\u4e2d\u7684\u7a7a\u767d\u5b57\u7b26\u8f6c\u6362\u4e3a\u5e95\u7ebf\u5b57\u7b26\u3002<br \/> -V\u00a0\u00a0 \u4fdd\u7559VMS\u7684\u6587\u4ef6\u7248\u672c\u4fe1\u606f\u3002<br \/> -X\u00a0\u00a0 \u89e3\u538b\u7f29\u65f6\u540c\u65f6\u56de\u5b58\u6587\u4ef6\u539f\u6765\u7684UID\/GID\u3002<br \/> [.zip\u6587\u4ef6]\u00a0\u00a0 \u6307\u5b9a.zip\u538b\u7f29\u6587\u4ef6\u3002<br \/> [\u6587\u4ef6]\u00a0\u00a0 \u6307\u5b9a\u8981\u5904\u7406.zip\u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u54ea\u4e9b\u6587\u4ef6\u3002<br \/> -d&lt;\u76ee\u5f55&gt;\u00a0\u00a0 \u6307\u5b9a\u6587\u4ef6\u89e3\u538b\u7f29\u540e\u6240\u8981\u5b58\u50a8\u7684\u76ee\u5f55\u3002<br \/> -x&lt;\u6587\u4ef6&gt;\u00a0\u00a0 \u6307\u5b9a\u4e0d\u8981\u5904\u7406.zip\u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u54ea\u4e9b\u6587\u4ef6\u3002<br \/> -Z\u00a0\u00a0 <strong style=\"color: black; background-color: #ffff66;\">unzip<\/strong> -Z\u7b49\u4e8e\u6267\u884czipinfo\u6307\u4ee4\u3002<br \/> -c\u00a0\u00a0 \u5c06\u89e3\u538b\u7f29\u7684\u7ed3\u679c\u663e\u793a\u5230\u5c4f\u5e55\u4e0a\uff0c\u5e76\u5bf9\u5b57\u7b26\u505a\u9002\u5f53\u7684\u8f6c\u6362\u3002<br \/> -f\u00a0\u00a0 \u66f4\u65b0\u73b0\u6709\u7684\u6587\u4ef6\u3002<br \/> -l\u00a0\u00a0 \u663e\u793a\u538b\u7f29\u6587\u4ef6\u5185\u6240\u5305\u542b\u7684\u6587\u4ef6\u3002<br \/> -p\u00a0\u00a0 \u4e0e-c\u53c2\u6570\u7c7b\u4f3c\uff0c\u4f1a\u5c06\u89e3\u538b\u7f29\u7684\u7ed3\u679c\u663e\u793a\u5230\u5c4f\u5e55\u4e0a\uff0c\u4f46\u4e0d\u4f1a\u6267\u884c\u4efb\u4f55\u7684\u8f6c\u6362\u3002<br \/> -t\u00a0\u00a0 \u68c0\u67e5\u538b\u7f29\u6587\u4ef6\u662f\u5426\u6b63\u786e\u3002<br \/> -u\u00a0\u00a0 \u4e0e-f\u53c2\u6570\u7c7b\u4f3c\uff0c\u4f46\u662f\u9664\u4e86\u66f4\u65b0\u73b0\u6709\u7684\u6587\u4ef6\u5916\uff0c\u4e5f\u4f1a\u5c06\u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u5176\u4ed6\u6587\u4ef6\u89e3\u538b\u7f29<strong style=\"color: black; background-color: #a0ffff;\">\u5230\u76ee\u5f55<\/strong>\u4e2d\u3002<br \/> -v\u00a0\u00a0 \u6267\u884c\u662f\u65f6\u663e\u793a\u8be6\u7ec6\u7684\u4fe1\u606f\u3002<\/span><\/h1>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u4f8b\u5982\uff1a \u5217\u51fa\u5f53\u524d\u76ee\u5f55\u4e0b\u7684test.zip\u6587\u4ef6\u4e2d\u7684\u6587\u4ef6<\/p>\n<pre class=\"bash\" style=\"font-family: monospace;\"><span style=\"color: #007800;\">$unzip<\/span> <span style=\"color: #660033;\">-l<\/span> <span style=\"color: #7a0874; font-weight: bold;\">test<\/span><\/pre>\n<p>\u89e3\u538btest.zip\u6587\u4ef6\u5230test_extract\u76ee\u5f55<\/p>\n<pre class=\"bash\" style=\"font-family: monospace;\"><span style=\"color: #007800;\">$unzip<\/span> test.zip <span style=\"color: #660033;\">-d<\/span> test_extract<br \/><br \/><br \/><br \/><br \/>\u540e\u53f0\u89e3\u538b nohup ..... &amp;<\/pre>\n<p>\u540e\u53f0\u89e3\u538btest.zip\u6587\u4ef6\u5230test_extract\u76ee\u5f55<\/p>\n<p><span style=\"color: #007800;\">$nohup unzip<\/span> test.zip <span style=\"color: #660033;\">-d<\/span> test_extract &amp;<\/p>\n<pre class=\"bash\" style=\"font-family: monospace;\">\u00a0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>winscp \u6dfb\u52a0 unzip -d &#8220;!&#8221; &#8220;!&#8221; linux unzip\u529f \u80fd\u8bf4\u660e\uff1aunzip\u4e3a.zip \u538b\u7f29\u6587\u4ef6\u7684\u89e3\u538b\u7f29\u7a0b\u5e8f\u3002 unzip [-Z]\u00a0 [-cflptTuvz[abjnoqsCKLMVWX$\/:]]\u00a0 file[.zip]\u00a0 [file(s) &#8230;] [-x xfile(s) &#8230;] [-d exdir] \u8bed\u3000\u3000\u6cd5\uff1aunzip [-cflptuvz][-agCjLMnoqsVX][-P &lt;\u5bc6\u7801&gt;][.zip\u6587\u4ef6][\u6587\u4ef6][-d &lt;\u76ee\u5f55&gt;][-x &lt;\u6587\u4ef6&gt;] \u6216 unzip [-Z] \u53c2\u3000\u3000\u6570\uff1a -z\u00a0\u00a0 \u4ec5\u663e\u793a\u538b\u7f29\u6587\u4ef6\u7684\u5907\u6ce8\u6587\u5b57\u3002 -a\u00a0\u00a0 \u5bf9\u6587\u672c\u6587\u4ef6\u8fdb\u884c\u5fc5\u8981\u7684\u5b57\u7b26\u8f6c\u6362\u3002 -b\u00a0\u00a0 \u4e0d\u8981\u5bf9\u6587\u672c\u6587\u4ef6\u8fdb\u884c\u5b57\u7b26\u8f6c\u6362\u3002 -C\u00a0\u00a0 \u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u6587\u4ef6\u540d\u79f0\u533a\u5206\u5927\u5c0f\u5199\u3002 -j\u00a0\u00a0 \u4e0d\u5904\u7406\u538b\u7f29\u6587\u4ef6\u4e2d\u539f\u6709\u7684\u76ee\u5f55\u8def\u5f84\u3002 -L\u00a0\u00a0 \u5c06\u538b\u7f29\u6587\u4ef6\u4e2d\u7684\u5168\u90e8\u6587\u4ef6\u540d\u6539\u4e3a\u5c0f\u5199\u3002 -M\u00a0\u00a0 \u5c06\u8f93\u51fa\u7ed3\u679c\u9001\u5230more\u7a0b\u5e8f\u5904\u7406\u3002 -n\u00a0\u00a0 \u89e3\u538b\u7f29\u65f6\u4e0d\u8981\u8986\u76d6\u539f\u6709\u7684\u6587\u4ef6\u3002 -o\u00a0\u00a0 \u4e0d\u5fc5\u5148\u8be2\u95ee\u7528\u6237\uff0cunzip\u6267\u884c\u540e\u8986\u76d6\u539f\u6709\u6587\u4ef6\u3002 -P&lt;\u5bc6\u7801&gt;\u00a0\u00a0 \u4f7f\u7528zip\u7684\u5bc6\u7801\u9009\u9879\u3002 -q\u00a0\u00a0 \u6267\u884c\u65f6\u4e0d\u663e\u793a\u4efb\u4f55\u4fe1\u606f\u3002 -s\u00a0\u00a0 \u5c06\u6587\u4ef6\u540d\u4e2d\u7684\u7a7a\u767d\u5b57\u7b26\u8f6c\u6362\u4e3a\u5e95\u7ebf\u5b57\u7b26\u3002 -V\u00a0\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-22"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}