{"id":42,"date":"2010-07-21T20:37:14","date_gmt":"2010-07-21T20:37:14","guid":{"rendered":"https:\/\/shan.info\/new\/wget\/"},"modified":"2010-07-21T20:37:14","modified_gmt":"2010-07-21T20:37:14","slug":"wget","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/wget\/","title":{"rendered":"wget"},"content":{"rendered":"<div id=\"msgcns!750E812099FE2A7!214\" class=\"bvMsg\">\n<p style=\"text-indent: 2em;\"><strong>Wget <\/strong><\/p>\n<p style=\"text-indent: 2em;\">Wget\u662f\u4e00\u4e2a\u5341\u5206\u5e38\u7528\u547d\u4ee4\u884c\u4e0b\u8f7d\u5de5\u5177\uff0cWget\u4f7f\u7528\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p style=\"text-indent: 2em;\">#wget [\u9009\u9879] [\u4e0b\u8f7d\u5730\u5740]<\/p>\n<p style=\"text-indent: 2em;\">Wget\u5e38\u7528\u53c2\u6570<\/p>\n<p style=\"text-indent: 2em;\">-b\uff1a\u540e\u53f0\u4e0b\u8f7d\uff0cWget\u9ed8\u8ba4\u7684\u662f\u628a\u6587\u4ef6\u4e0b\u8f7d\u5230\u5f53\u524d\u76ee\u5f55\u3002<\/p>\n<p style=\"text-indent: 2em;\">-O\uff1a\u5c06\u6587\u4ef6\u4e0b\u8f7d\u5230\u6307\u5b9a\u7684\u76ee\u5f55\u4e2d\u3002<\/p>\n<p style=\"text-indent: 2em;\">-P\uff1a\u6307\u5b9a\u4fdd\u5b58\u6587\u4ef6\u7684\u76ee\u5f55\u3002<\/p>\n<p style=\"text-indent: 2em;\">-N\uff1adon&#8217;t re-retrieve files unless newer than<\/p>\n<p style=\"text-indent: 2em;\">-t\uff1a\u5c1d\u8bd5\u8fde\u63a5\u6b21\u6570\uff0c\u5f53Wget\u65e0\u6cd5\u4e0e\u670d\u52a1\u5668\u5efa\u7acb\u8fde\u63a5\u65f6\uff0c\u5c1d\u8bd5\u8fde\u63a5\u591a\u5c11\u6b21\u3002<\/p>\n<p style=\"text-indent: 2em;\">-c\uff1a\u65ad\u70b9\u7eed\u4f20\uff0c\u5982\u679c\u4e0b\u8f7d\u4e2d\u65ad\uff0c\u90a3\u4e48\u8fde\u63a5\u6062\u590d\u65f6\u4f1a\u4ece\u4e0a\u6b21\u65ad\u70b9\u5f00\u59cb\u4e0b\u8f7d\u3002<\/p>\n<p style=\"text-indent: 2em;\">\u6b64\u5916\uff0cWget\u8fd8\u53ef\u4e0b\u8f7d\u6574\u4e2a \u7f51\u7ad9\uff0c\u5982\u4e0b\u8f7dhttp:\/\/man.chinaunix.net\u6574\u4e2aMan\u624b\u518c\u4e2d\u5fc3\u3002<\/p>\n<p style=\"text-indent: 2em;\">\u53ea\u9700\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a #wget -r -p -np -k http:\/\/man.chinaunix.net \u5176\u4e2d-r\u53c2\u6570\u662f\u6307\u4f7f\u7528\u9012\u5f52\u4e0b\u8f7d\uff0c<\/p>\n<p style=\"text-indent: 2em;\">-p\u662f\u6307\u4e0b\u8f7d\u6240\u6709\u663e\u793a\u5b8c\u6574\u7f51\u9875\u6240\u4ee5\u9700\u8981\u7684\u6587\u4ef6\uff0c\u5982\u56fe\u7247\u7b49\uff0c-np\u662f\u6307\u4e0d\u641c\u7d22\u4e0a\u5c42\u76ee\u5f55\uff0c-k\u5219 \u662f\u6307\u5c06\u7edd\u5bf9\u94fe\u63a5\u8f6c\u6362\u4e3a\u76f8\u5bf9\u94fe\u63a5\u3002<\/p>\n<p style=\"text-indent: 2em;\">\u00a0<\/p>\n<p style=\"text-indent: 2em;\"><strong>AXEL<\/strong><\/p>\n<p style=\"text-indent: 2em;\">axel\u7684\u5168\u5c40\u914d\u7f6e\u6587\u4ef6\u662f\/etc\/axel\/axelrc\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5bf9axel\u8fdb\u884c \u5b9a\u5236\uff0c\u6bd4\u5982\u6211\u53d6\u6d88\u4e86\u5bf9alternate_output = 1\u4e00\u884c\u7684\u6ce8\u91ca\uff0c\u4ee5\u4fbf\u8ba9axel\u7684\u8f93\u51fa\u6bd4\u8f83\u7b80\u6d01\u4e00\u4e9b\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u8bbe\u7f6eaxel\u4f7f\u7528\u7684\u7ebf\u7a0b\u6570\uff0c\u9ed8\u8ba4\u662f4\u4e2a\u7ebf\u7a0b\u3002<\/p>\n<p style=\"text-indent: 2em;\">\u00a0<\/p>\n<p style=\"text-indent: 2em;\">\u4f7f\u7528\u5f88\u7b80\u5355 axel url\u5373\u53ef<\/p>\n<p style=\"text-indent: 2em;\">\u00a0<\/p>\n<p style=\"text-indent: 2em;\">\u9650\u901f\u4f7f\u7528\uff1a\u52a0\u4e0a -s \u53c2\u6570\uff0c\u5982 -s 10240\uff0c\u5373\u6bcf\u79d2\u4e0b\u8f7d\u7684\u5b57\u8282\u6570\uff0c\u8fd9\u91cc\u662f 10 Kb<\/p>\n<p style=\"text-indent: 2em;\">\u00a0<\/p>\n<p style=\"text-indent: 2em;\">\u9650\u5236\u8fde\u63a5\u6570\uff1a\u52a0\u4e0a -n \u53c2\u6570\uff0c\u5982 -n 5\uff0c\u5373\u6253\u5f00 5 \u4e2a\u8fde\u63a5\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Wget Wget\u662f\u4e00\u4e2a\u5341\u5206\u5e38\u7528\u547d\u4ee4\u884c\u4e0b\u8f7d\u5de5\u5177\uff0cWget\u4f7f\u7528\u683c\u5f0f\u5982\u4e0b\uff1a #wget [\u9009\u9879] [\u4e0b\u8f7d\u5730\u5740] Wget\u5e38\u7528\u53c2\u6570 -b\uff1a\u540e\u53f0\u4e0b\u8f7d\uff0cWget\u9ed8\u8ba4\u7684\u662f\u628a\u6587\u4ef6\u4e0b\u8f7d\u5230\u5f53\u524d\u76ee\u5f55\u3002 -O\uff1a\u5c06\u6587\u4ef6\u4e0b\u8f7d\u5230\u6307\u5b9a\u7684\u76ee\u5f55\u4e2d\u3002 -P\uff1a\u6307\u5b9a\u4fdd\u5b58\u6587\u4ef6\u7684\u76ee\u5f55\u3002 -N\uff1adon&#8217;t re-retrieve files unless newer than -t\uff1a\u5c1d\u8bd5\u8fde\u63a5\u6b21\u6570\uff0c\u5f53Wget\u65e0\u6cd5\u4e0e\u670d\u52a1\u5668\u5efa\u7acb\u8fde\u63a5\u65f6\uff0c\u5c1d\u8bd5\u8fde\u63a5\u591a\u5c11\u6b21\u3002 -c\uff1a\u65ad\u70b9\u7eed\u4f20\uff0c\u5982\u679c\u4e0b\u8f7d\u4e2d\u65ad\uff0c\u90a3\u4e48\u8fde\u63a5\u6062\u590d\u65f6\u4f1a\u4ece\u4e0a\u6b21\u65ad\u70b9\u5f00\u59cb\u4e0b\u8f7d\u3002 \u6b64\u5916\uff0cWget\u8fd8\u53ef\u4e0b\u8f7d\u6574\u4e2a \u7f51\u7ad9\uff0c\u5982\u4e0b\u8f7dhttp:\/\/man.chinaunix.net\u6574\u4e2aMan\u624b\u518c\u4e2d\u5fc3\u3002 \u53ea\u9700\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a #wget -r -p -np -k http:\/\/man.chinaunix.net \u5176\u4e2d-r\u53c2\u6570\u662f\u6307\u4f7f\u7528\u9012\u5f52\u4e0b\u8f7d\uff0c -p\u662f\u6307\u4e0b\u8f7d\u6240\u6709\u663e\u793a\u5b8c\u6574\u7f51\u9875\u6240\u4ee5\u9700\u8981\u7684\u6587\u4ef6\uff0c\u5982\u56fe\u7247\u7b49\uff0c-np\u662f\u6307\u4e0d\u641c\u7d22\u4e0a\u5c42\u76ee\u5f55\uff0c-k\u5219 \u662f\u6307\u5c06\u7edd\u5bf9\u94fe\u63a5\u8f6c\u6362\u4e3a\u76f8\u5bf9\u94fe\u63a5\u3002 \u00a0 AXEL axel\u7684\u5168\u5c40\u914d\u7f6e\u6587\u4ef6\u662f\/etc\/axel\/axelrc\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5bf9axel\u8fdb\u884c \u5b9a\u5236\uff0c\u6bd4\u5982\u6211\u53d6\u6d88\u4e86\u5bf9alternate_output = 1\u4e00\u884c\u7684\u6ce8\u91ca\uff0c\u4ee5\u4fbf\u8ba9axel\u7684\u8f93\u51fa\u6bd4\u8f83\u7b80\u6d01\u4e00\u4e9b\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u8bbe\u7f6eaxel\u4f7f\u7528\u7684\u7ebf\u7a0b\u6570\uff0c\u9ed8\u8ba4\u662f4\u4e2a\u7ebf\u7a0b\u3002 \u00a0 \u4f7f\u7528\u5f88\u7b80\u5355 axel url\u5373\u53ef \u00a0 \u9650\u901f\u4f7f\u7528\uff1a\u52a0\u4e0a -s \u53c2\u6570\uff0c\u5982 -s 10240\uff0c\u5373\u6bcf\u79d2\u4e0b\u8f7d\u7684\u5b57\u8282\u6570\uff0c\u8fd9\u91cc\u662f 10 Kb \u00a0 \u9650\u5236\u8fde\u63a5\u6570\uff1a\u52a0\u4e0a -n \u53c2\u6570\uff0c\u5982 -n 5\uff0c\u5373\u6253\u5f00 5 \u4e2a\u8fde\u63a5\u3002<\/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-42","post","type-post","status-publish","format-standard","hentry","category-22"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/42","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=42"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}