{"id":24614,"date":"2020-02-13T16:48:33","date_gmt":"2020-02-13T08:48:33","guid":{"rendered":"http:\/\/4563.org\/?p=24614"},"modified":"2020-02-13T16:48:33","modified_gmt":"2020-02-13T08:48:33","slug":"%e3%80%90gclone%e3%80%91%e4%b8%80%e4%b8%aarclone%e7%9a%84%e9%ad%94%e6%94%b9%e7%89%88%e6%9c%ac%e3%80%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=24614","title":{"rendered":"\u3010gclone\u3011\u4e00\u4e2arclone\u7684\u9b54\u6539\u7248\u672c\u3002"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>donwa<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 25&nbsp;\u5206\u949f\u524d\t<\/p>\n<h3>\u3010gclone\u3011\u4e00\u4e2arclone\u7684\u9b54\u6539\u7248\u672c\u3002<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 donwa \u4e8e 2020-2-13 16:47 \u7f16\u8f91 <\/p>\n<p> gclone \u4e00\u4e2a rclone \u7684\u4fee\u6539\u7248.<br \/>  \u4e3aGoogle Drive\u64cd\u4f5c\u589e\u52a0\u81ea\u52a8\u5207\u6362\u8d26\u6237\u548c\u547d\u4ee4\u884c\u6839\u76ee\u5f55id\u64cd\u4f5c\u652f\u6301.<br \/>  \u5176\u4ed6\u529f\u80fd\u4e0e\u539f\u7248rclone\u76f8\u540c.<\/p>\n<p>  \u5b89\u88c5\uff1ahttps:\/\/github.com\/donwa\/gclone<\/p>\n<p>  \u4e3b\u8981\u589e\u52a0\u4e24\u4e2a\u529f\u80fd\u3002<br \/>  1\u3001\u52a8\u6001\u5207\u6362 sa \u6587\u4ef6\u3002\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u589e\u52a0\u4e86 service_account_file_path \u8fd9\u4e00\u4e2a\u914d\u7f6e\u9879\u3002\u5982\u679c\u51fa\u73b0rateLimitExceeded\u9519\u8bef\uff0c\u5c31\u4f1a\u968f\u673a\u5207\u6362sa\u6587\u4ef6\u3002<\/p>\n<p>  type = drive<br \/>  scope = drive<br \/>  service_account_file = \/root\/accounts\/1.json<br \/>  service_account_file_path = \/root\/accounts\/&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;&#8212;&#8212; \u65b0\u589e\u4e86\u8fd9\u4e2a\u9009\u9879<br \/>  root_folder_id = root<\/p>\n<p>  \u81ea\u52a8\u66ff\u6362sa\u6587\u4ef6\uff0c\u9002\u7528\u4e8e\u6240\u6709\u5bf9google drive\u76d8\u64cd\u4f5c\uff0c\u5305\u62ec\u4e0d\u9650\u4e8e copy sync ls \u8fd8\u6709\u6302\u8f7d<\/p>\n<p>  2\u3001\u652f\u6301cli\u547d\u4ee4\u4e2d\u5e26google drive id \u7684\u64cd\u4f5c\uff0c\u7701\u53bb\u65b0\u5efa\u914d\u7f6e\u7684\u6b65\u9aa4\u3002<\/p>\n<p>  \/\/ \u6b64\u64cd\u4f5c\u4e0d\u9650\u5236\u4e8ecopy\uff0csync \u7b49\u7b49\u64cd\u4f5c\u90fd\u662f\u652f\u6301\u7684<br \/>  gclone copy gc:{\u76ee\u5f551\u7684id} gc:{\u76ee\u5f552\u7684id}&#8211;drive-server-side-across-configs<\/p>\n<p>  \/\/ \u9996\u53c2\u6570\u4e3a\u6587\u4ef6id\u7684\uff0c\u53ea\u9650\u4e8ecopy\u64cd\u4f5c<br \/>  gclone copy gc:{\u6587\u4ef6\u7684id} gc:{\u76ee\u5f552\u7684id}&#8211;drive-server-side-across-configs<\/p>\n<p>  ps:\u672c\u6765\u8fd8\u6709\u4e2a\u7f51\u9875\u754c\u9762\u529f\u80fd\u7684\uff0c\u641e\u641e\u7a81\u7136\u6ca1\u4ec0\u4e48\u5174\u8da3\u4e86\uff0c\u51c6\u5907\u5f00\u5176\u4ed6\u5751\u4e86\u3002<\/p>\n<p>  \u54ea\u4f4d\u5927\u4f6c\u6709\u6bd4\u8f83\u591a\u8d44\u6e90\u7684\u56e2\u961f\u76d8\uff0c\u7ad9\u5185pm\u5e26\u4e0b\u6211\uff0c\u4e5f\u8bb8\u6211\u5c31\u6709\u5174\u8da3\u7ee7\u7eed\u641e\u4e86\u3002  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Sheldonliu<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 24&nbsp;\u5206\u949f\u524d\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u524d\u6392\u652f\u6301\u5927\u4f6c:lol:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hellfires<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 24&nbsp;\u5206\u949f\u524d\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u524d\u6392\u5360\u5ea7\u54c8\u3002\u3002\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u98ce\u4e3a\u88f3<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 23&nbsp;\u5206\u949f\u524d\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u652f\u6301\u5927\u4f6c\uff0c\u5927\u4f6c\u51fa\u54c1\uff0c\u5fc5\u662f\u7cbe\u54c1\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>jiejuezhisi<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 22&nbsp;\u5206\u949f\u524d\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u652f\u6301\u5927\u4f6c\uff0c\u5389\u5bb3\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>donwa \u5927\u4f6c\u6709\u8bdd\u8bf4 : 25&#038;&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/24614"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24614"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/24614\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24614"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}