{"id":754,"date":"2019-04-25T11:33:25","date_gmt":"2019-04-25T03:33:25","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=754"},"modified":"2022-05-03T15:48:18","modified_gmt":"2022-05-03T07:48:18","slug":"unzip","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/unzip","title":{"rendered":"unzip\u547d\u4ee4 – \u89e3\u538b\u7f29zip\u683c\u5f0f\u6587\u4ef6"},"content":{"rendered":"\n
unzip\u547d\u4ee4\u7528\u4e8e\u89e3\u538b\u7f29zip\u683c\u5f0f\u6587\u4ef6\uff0c\u867d\u7136Linux\u7cfb\u7edf\u4e2d\u66f4\u591a\u7684\u4f7f\u7528tar\u547d\u4ee4\u8fdb\u884c\u5bf9\u538b\u7f29\u5305\u7684\u7ba1\u7406\u5de5\u4f5c\uff0c\u4f46\u6709\u65f6\u4e5f\u4f1a\u6536\u5230\u540cWindows\u7cfb\u7edf\u5e38\u7528\u7684.zip\u548c.rar\u683c\u5f0f\u7684\u538b\u7f29\u5305\u6587\u4ef6\uff0cunzip\u683c\u5f0f\u4fbf\u6d3e\u4e0a\u4e86\u7528\u573a\u3002\u76f4\u63a5\u4f7f\u7528unzip\u547d\u4ee4\u89e3\u538b\u7f29\u6587\u4ef6\u540e\uff0c\u538b\u7f29\u5305\u5185\u539f\u6709\u7684\u6587\u4ef6\u4f1a\u88ab\u63d0\u53d6\u5e76\u8f93\u51fa\u4fdd\u5b58\u5230\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>unzip [\u53c2\u6570] \u538b\u7f29\u5305<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5c06\u538b\u7f29\u5305\u6587\u4ef6\u89e3\u538b\u5230\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e2d\uff1a<\/p>\n\n\n\n \u5c06\u538b\u7f29\u5305\u6587\u4ef6\u89e3\u538b\u5230\u6307\u5b9a\u7684\u76ee\u5f55\u4e2d\uff1a<\/p>\n\n\n\n \u6d4b\u8bd5\u538b\u7f29\u5305\u6587\u4ef6\u662f\u5426\u5b8c\u6574\uff0c\u6587\u4ef6\u6709\u65e0\u635f\u574f\uff1a<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" unzip\u547d\u4ee4\u7528\u4e8e\u89e3\u538b\u7f29zip\u683c\u5f0f\u6587\u4ef6\uff0c\u867d\u7136Linux\u7cfb\u7edf\u4e2d\u66f4\u591a\u7684\u4f7f\u7528tar\u547d\u4ee4\u8fdb\u884c\u5bf9\u538b\u7f29\u5305\u7684\u7ba1\u7406\u5de5\u4f5c\uff0c\u4f46\u6709\u65f6 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/754"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=754"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/754\/revisions"}],"predecessor-version":[{"id":9123,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/754\/revisions\/9123"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-l<\/td> \u663e\u793a\u538b\u7f29\u6587\u4ef6\u5185\u6240\u5305\u542b\u7684\u6587\u4ef6 <\/td><\/tr> -v<\/td> \u6267\u884c\u65f6\u663e\u793a\u8be6\u7ec6\u7684\u4fe1\u606f <\/td><\/tr> -c<\/td> \u5c06\u89e3\u538b\u7f29\u7684\u7ed3\u679c\u663e\u793a\u5230\u5c4f\u5e55\u4e0a\uff0c\u5e76\u5bf9\u5b57\u7b26\u505a\u9002\u5f53\u7684\u8f6c\u6362 <\/td><\/tr> -n<\/td> \u89e3\u538b\u7f29\u65f6\u4e0d\u8981\u8986\u76d6\u539f\u6709\u7684\u6587\u4ef6 <\/td><\/tr> -j<\/td> \u4e0d\u5904\u7406\u538b\u7f29\u6587\u4ef6\u4e2d\u539f\u6709\u7684\u76ee\u5f55\u8def\u5f84 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# unzip latest.zip<\/strong>\r\nArchive: latest.zip\r\n creating: wordpress\/\r\n inflating: wordpress\/xmlrpc.php \r\n inflating: wordpress\/wp-blog-header.php \r\n inflating: wordpress\/readme.html \r\n inflating: wordpress\/wp-signup.php \r\n inflating: wordpress\/index.php \r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n
[root@linuxcool ~]# unzip latest.zip -d \/home<\/strong>\r\nArchive: latest.zip\r\n creating: \/home\/wordpress\/\r\n inflating: \/home\/wordpress\/xmlrpc.php \r\n inflating: \/home\/wordpress\/wp-blog-header.php \r\n inflating: \/home\/wordpress\/readme.html \r\n inflating: \/home\/wordpress\/wp-signup.php \r\n inflating: \/home\/wordpress\/index.php \n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r<\/pre>\n\n\n\n
[root@linuxcool ~]# unzip -t latest.zip<\/strong>\nArchive: latest.zip\n testing: wordpress\/ OK\n testing: wordpress\/xmlrpc.php OK\n testing: wordpress\/wp-blog-header.php OK\n testing: wordpress\/readme.html OK\n testing: wordpress\/wp-signup.php OK\n testing: wordpress\/index.php OK\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n