{"id":69,"date":"2020-04-13T23:11:23","date_gmt":"2020-04-13T23:11:23","guid":{"rendered":"http:\/\/blog.kimi.pw\/?p=69"},"modified":"2021-04-18T19:56:53","modified_gmt":"2021-04-18T19:56:53","slug":"rclone-%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b-%e8%bf%9e%e6%8e%a5-onedrive-%e5%92%8c-google-drive%e8%bd%ac","status":"publish","type":"post","link":"https:\/\/blog.kimi.ee\/?p=69","title":{"rendered":"\u3010\u7f51\u76d8\u3011Rclone \u5b89\u88c5\u914d\u7f6e\u6559\u7a0b &#8211; \u8fde\u63a5 OneDrive \u548c Google Drive[\u8f6c]"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_62 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >\u3010 \u76ee \u5f55 \u3011 -  \u70b9\u51fb\u4e0b\u65b9\u6807\u9898\u8df3\u8f6c <\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #cecece;color:#cecece\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #cecece;color:#cecece\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#%E5%89%8D%E8%A8%80\" title=\"\u524d\u8a00\">\u524d\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#%E5%AE%89%E8%A3%85_Rclone\" title=\"\u5b89\u88c5 Rclone\">\u5b89\u88c5 Rclone<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#Rclone_%E8%BF%9E%E6%8E%A5_OneDrive\" title=\"Rclone \u8fde\u63a5 OneDrive\">Rclone \u8fde\u63a5 OneDrive<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#%E8%8E%B7%E5%8F%96_token\" title=\"\u83b7\u53d6 token\">\u83b7\u53d6 token<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#%E9%85%8D%E7%BD%AE_Rclone\" title=\"\u914d\u7f6e Rclone\">\u914d\u7f6e Rclone<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#Rclone_%E8%BF%9E%E6%8E%A5_Google_Drive\" title=\"Rclone \u8fde\u63a5 Google Drive\">Rclone \u8fde\u63a5 Google Drive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B\" title=\"\u4f7f\u7528\u6559\u7a0b\">\u4f7f\u7528\u6559\u7a0b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/blog.kimi.ee\/?p=69\/#%E5%8F%82%E8%80%83\" title=\"\u53c2\u8003\">\u53c2\u8003<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"toc_0\"><span class=\"ez-toc-section\" id=\"%E5%89%8D%E8%A8%80\"><\/span>\u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Rclone \u662f\u4e00\u4e2a\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u652f\u6301\u5728\u4e0d\u540c\u5bf9\u8c61\u5b58\u50a8\u3001\u7f51\u76d8\u95f4\u540c\u6b65\u3001\u4e0a\u4f20\u3001\u4e0b\u8f7d\u6570\u636e\u3002\u5e76\u4e14\u901a\u8fc7\u4e00\u4e9b\u8bbe\u7f6e\u53ef\u4ee5\u5b9e\u73b0\u79bb\u7ebf\u4e0b\u8f7d\u3001\u670d\u52a1\u5668\u5907\u4efd\u7b49\u975e\u5e38\u5b9e\u7528\u7684\u529f\u80fd\u3002\u8fd9\u91cc\u4ee5 OneDrive \u548c Google Drive \u4e3a\u4f8b\u5b50\uff0c\u8fdb\u884c\u8fde\u63a5\u914d\u7f6e\uff0c\u5176\u5b83\u7f51\u76d8\u7684\u64cd\u4f5c\u7c7b\u4f3c\u3002\u7531\u4e8e\u662f\u4ea4\u4e92\u5f0f\u914d\u7f6e\u9009\u9879\uff0c\u53ea\u8981\u80fd\u770b\u61c2\u57fa\u672c\u6ca1\u6709\u4efb\u4f55\u96be\u5ea6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_1\"><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85_Rclone\"><\/span>\u5b89\u88c5 Rclone<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5b98\u65b9\u63d0\u4f9b\u4e86<a href=\"https:\/\/p3terx.com\/go\/aHR0cHM6Ly9yY2xvbmUub3JnL2luc3RhbGwvI3NjcmlwdC1pbnN0YWxsYXRpb24=\" target=\"_blank\" rel=\"noreferrer noopener\">\u4e00\u952e\u5b89\u88c5\u811a\u672c<\/a>\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>curl https:\/\/rclone.org\/install.sh | sudo bash<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_2\"><span class=\"ez-toc-section\" id=\"Rclone_%E8%BF%9E%E6%8E%A5_OneDrive\"><\/span>Rclone \u8fde\u63a5 OneDrive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"toc_3\"><span class=\"ez-toc-section\" id=\"%E8%8E%B7%E5%8F%96_token\"><\/span>\u83b7\u53d6 token<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u5728\u672c\u5730 Win\u00addows \u7535\u8111\u4e0a<a href=\"https:\/\/p3terx.com\/go\/aHR0cHM6Ly9yY2xvbmUub3JnL2Rvd25sb2Fkcy8=\" target=\"_blank\" rel=\"noreferrer noopener\">\u4e0b\u8f7d rclone<\/a>\uff0c\u7136\u540e\u89e3\u538b\u51fa\u6765\uff0c\u89e3\u538b\u540e\u8fdb\u5165\u6587\u4ef6\u5939\uff0c\u5728\u8d44\u6e90\u7ba1\u7406\u5668\u5730\u5740\u680f\u8f93\u5165&nbsp;<code>cmd<\/code>\uff0c\u56de\u8f66\u5c31\u4f1a\u5728\u5f53\u524d\u8def\u5f84\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>rclone authorize &quot;onedrive&quot;<\/pre><\/div>\n\n\n\n<p>\u63a5\u4e0b\u6765\u4f1a\u5f39\u51fa\u6d4f\u89c8\u5668\uff0c\u8981\u6c42\u4f60\u767b\u5f55\u8d26\u53f7\u8fdb\u884c\u6388\u6743\u3002\u6388\u6743\u5b8c\u540e\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>If your browser doesn't open automatically go to the following link: http:\/\/127.0.0.1:53682\/auth\nLog in and authorize rclone for access\nWaiting for code...\nGot code\nPaste the following into your remote machine ---&gt;\n{&quot;access_token&quot;:&quot;xxxxxxxx&quot;}  # \u6ce8\u610f!\u590d\u5236{xxxxxxxx}\u6574\u4e2a\u5185\u5bb9\uff0c\u5e76\u4fdd\u5b58\u597d\uff0c\u540e\u9762\u9700\u8981\u7528\u5230\n&lt;---End paste<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"toc_4\"><span class=\"ez-toc-section\" id=\"%E9%85%8D%E7%BD%AE_Rclone\"><\/span>\u914d\u7f6e Rclone<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u8f93\u5165\u00a0<code>rclone config<\/code>\u00a0\u547d\u4ee4\uff08\u5982\u679c\u662fVPS\u5219SSH\u8f93\u5165\uff09\uff0c\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u4fe1\u606f\uff0c\u53c2\u7167\u4e0b\u9762\u7684\u6ce8\u91ca\u8fdb\u884c\u64cd\u4f5c\u3002\u70b9\u51fb\u67e5\u770b<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>TIPS:<\/strong>&nbsp;\u56e0\u4e3a RCLONE \u4f1a\u65f6\u4e0d\u65f6\u8fdb\u884c\u66f4\u65b0\uff0c\u5f53\u4f60\u770b\u5230\u8fd9\u7bc7\u6559\u7a0b\u65f6\u83dc\u5355\u9009\u9879\u53ef\u80fd\u5df2\u7ecf\u53d1\u751f\u4e86\u7565\u5fae\u7684\u6539\u52a8\uff0c\u4f46\u5927\u81f4\u601d\u8def\u4e0d\u4f1a\u53d8\uff0c<strong>\u4e0d\u8981\u65e0\u8111\u7167\u642c\u64cd\u4f5c<\/strong>\u3002<\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>e) Edit existing remote\nn) New remote\nd) Delete remote\nr) Rename remote\nc) Copy remote\ns) Set configuration password\nq) Quit config\ne\/n\/d\/r\/c\/s\/q&gt; n  # \u9009\u62e9n\uff0c\u65b0\u5efa\nname&gt; P3TERX   # \u8f93\u5165\u540d\u79f0\uff0c\u7c7b\u4f3c\u4e8e\u6807\u7b7e\uff0c\u7528\u4e8e\u533a\u5206\u4e0d\u540c\u7684\u7f51\u76d8\u3002\nType of storage to configure.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nChoose a number from below, or type in your own value\n 1 \/ A stackable unification remote, which can appear to merge the contents of several remotes\n   \\ &quot;union&quot;\n 2 \/ Alias for a existing remote\n   \\ &quot;alias&quot;\n 3 \/ Amazon Drive\n   \\ &quot;amazon cloud drive&quot;\n 4 \/ Amazon S3 Compliant Storage Providers (AWS, Ceph, Dreamhost, IBM COS, Minio)\n   \\ &quot;s3&quot;\n 5 \/ Backblaze B2\n   \\ &quot;b2&quot;\n 6 \/ Box\n   \\ &quot;box&quot;\n 7 \/ Cache a remote\n   \\ &quot;cache&quot;\n 8 \/ Dropbox\n   \\ &quot;dropbox&quot;\n 9 \/ Encrypt\/Decrypt a remote\n   \\ &quot;crypt&quot;\n10 \/ FTP Connection\n   \\ &quot;ftp&quot;\n11 \/ Google Cloud Storage (this is not Google Drive)\n   \\ &quot;google cloud storage&quot;\n12 \/ Google Drive\n   \\ &quot;drive&quot;\n13 \/ Hubic\n   \\ &quot;hubic&quot;\n14 \/ JottaCloud\n   \\ &quot;jottacloud&quot;\n15 \/ Local Disk\n   \\ &quot;local&quot;\n16 \/ Mega\n   \\ &quot;mega&quot;\n17 \/ Microsoft Azure Blob Storage\n   \\ &quot;azureblob&quot;\n18 \/ Microsoft OneDrive\n   \\ &quot;onedrive&quot;\n19 \/ OpenDrive\n   \\ &quot;opendrive&quot;\n20 \/ Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)\n   \\ &quot;swift&quot;\n21 \/ Pcloud\n   \\ &quot;pcloud&quot;\n22 \/ QingCloud Object Storage\n   \\ &quot;qingstor&quot;\n23 \/ SSH\/SFTP Connection\n   \\ &quot;sftp&quot;\n24 \/ Webdav\n   \\ &quot;webdav&quot;\n25 \/ Yandex Disk\n   \\ &quot;yandex&quot;\n26 \/ http Connection\n   \\ &quot;http&quot;\nStorage&gt; 18  # \u9009\u62e918\uff0cMicrosoft OneDrive\n** See help for onedrive backend at: https:\/\/rclone.org\/onedrive\/ **\n\nMicrosoft App Client Id\nLeave blank normally.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nclient_id&gt;   # \u7559\u7a7a\uff0c\u56de\u8f66\nMicrosoft App Client Secret\nLeave blank normally.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nclient_secret&gt;   # \u7559\u7a7a\uff0c\u56de\u8f66\nEdit advanced config? (y\/n)\ny) Yes\nn) No\ny\/n&gt; n  # \u9009n\nRemote config\nUse auto config?\n * Say Y if not sure\n * Say N if you are working on a remote or headless machine\ny) Yes\nn) No\ny\/n&gt; n  # \u9009n\nFor this to work, you will need rclone available on a machine that has a web browser available.\nExecute the following on your machine:\n    rclone authorize &quot;onedrive&quot;\nThen paste the result below:\nresult&gt; {&quot;XXXXXXXX&quot;}  # \u4e0a\u9762\u4fdd\u5b58\u7684token\u590d\u5236\u5230\u8fd9\u91cc\n2018\/10\/31 19:54:06 ERROR : Failed to save new token in config file: section 'P3TERX' not found\nChoose a number from below, or type in an existing value\n 1 \/ OneDrive Personal or Business\n   \\ &quot;onedrive&quot;\n 2 \/ Root Sharepoint site\n   \\ &quot;sharepoint&quot;\n 3 \/ Type in driveID\n   \\ &quot;driveid&quot;\n 4 \/ Type in SiteID\n   \\ &quot;siteid&quot;\n 5 \/ Search a Sharepoint site\n   \\ &quot;search&quot;\nYour choice&gt; 1  # \u8fd9\u91cc\u95ee\u4f60\u8981\u9009\u62e9\u7684\u7c7b\u578b\uff0c\u90091\nFound 1 drives, please select the one you want to use:\n0: OneDrive (business)\nChose drive to use:&gt; 0  # \u7a0b\u5e8f\u627e\u5230\u7f51\u76d8\uff0c\u8fd9\u91cc\u7f16\u53f7\u662f0\uff0c\u5c31\u9009\u62e90\nFound drive 'root' of type 'business', URL: https:\/\/xxxxxx-my.sharepoint.com\/personal\/xxxxxxx\/Documents\nIs that okay?\ny) Yes\nn) No\ny\/n&gt; y  # \u9009y\n--------------------\n[P3TERX]\ntype = onedrive\ntoken = {&quot;XXXXXXXX&quot;}\ndrive_id = XXXXXXXXX\ndrive_type = business\n--------------------\ny) Yes this is OK\ne) Edit this remote\nd) Delete this remote\ny\/e\/d&gt; y  # \u9009y\nCurrent remotes:\n\nName                 Type\n====                 ====\nP3TERX               onedrive\n\ne) Edit existing remote\nn) New remote\nd) Delete remote\nr) Rename remote\nc) Copy remote\ns) Set configuration password\nq) Quit config\ne\/n\/d\/r\/c\/s\/q&gt; q  # \u9009q\uff0c\u9000\u51fa<\/pre><\/div>\n\n\n\n<p>\u81f3\u6b64\uff0cRclone \u5df2\u6210\u529f\u8fde\u63a5\u5230\u4e86 OneDrive \u7f51\u76d8\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_5\"><span class=\"ez-toc-section\" id=\"Rclone_%E8%BF%9E%E6%8E%A5_Google_Drive\"><\/span>Rclone \u8fde\u63a5 Google Drive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4e0e OneDrive \u4e0d\u540c\u7684\u662f\uff0cGoogle Drive \u4e0d\u9700\u8981\u672c\u5730 Win\u00addows \u5ba2\u6237\u7aef\u9884\u5148\u8fdb\u884c\u6388\u6743\u83b7\u53d6 to\u00adken\uff0c\u800c\u662f\u5728\u914d\u7f6e\u8fc7\u7a0b\u4e2d\u8fdb\u884c\u6388\u6743\u3002<\/p>\n\n\n\n<p>\u8f93\u5165&nbsp;<code>rclone config<\/code>&nbsp;\u547d\u4ee4\uff0c\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u4fe1\u606f\uff0c\u53c2\u7167\u4e0b\u9762\u7684\u6ce8\u91ca\u8fdb\u884c\u64cd\u4f5c\u3002\u70b9\u51fb\u67e5\u770b<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>TIPS:<\/strong>&nbsp;\u56e0\u4e3a RCLONE \u4f1a\u65f6\u4e0d\u65f6\u8fdb\u884c\u66f4\u65b0\uff0c\u5f53\u4f60\u770b\u5230\u8fd9\u7bc7\u6559\u7a0b\u65f6\u83dc\u5355\u9009\u9879\u53ef\u80fd\u5df2\u7ecf\u53d1\u751f\u4e86\u7565\u5fae\u7684\u6539\u52a8\uff0c\u4f46\u5927\u81f4\u601d\u8def\u4e0d\u4f1a\u53d8\uff0c<strong>\u4e0d\u8981\u65e0\u8111\u7167\u642c\u64cd\u4f5c<\/strong>\u3002<\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>e) Edit existing remote\nn) New remote\nd) Delete remote\nr) Rename remote\nc) Copy remote\ns) Set configuration password\nq) Quit config\ne\/n\/d\/r\/c\/s\/q&gt; n  # \u9009\u62e9n\uff0c\u65b0\u5efa\nname&gt; Google  # \u8f93\u5165\u540d\u79f0\uff0c\u7c7b\u4f3c\u4e8e\u6807\u7b7e\uff0c\u7528\u4e8e\u533a\u5206\u4e0d\u540c\u7684\u7f51\u76d8\u3002\nType of storage to configure.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nChoose a number from below, or type in your own value\n 1 \/ A stackable unification remote, which can appear to merge the contents of several remotes\n   \\ &quot;union&quot;\n 2 \/ Alias for a existing remote\n   \\ &quot;alias&quot;\n 3 \/ Amazon Drive\n   \\ &quot;amazon cloud drive&quot;\n 4 \/ Amazon S3 Compliant Storage Providers (AWS, Ceph, Dreamhost, IBM COS, Minio)\n   \\ &quot;s3&quot;\n 5 \/ Backblaze B2\n   \\ &quot;b2&quot;\n 6 \/ Box\n   \\ &quot;box&quot;\n 7 \/ Cache a remote\n   \\ &quot;cache&quot;\n 8 \/ Dropbox\n   \\ &quot;dropbox&quot;\n 9 \/ Encrypt\/Decrypt a remote\n   \\ &quot;crypt&quot;\n10 \/ FTP Connection\n   \\ &quot;ftp&quot;\n11 \/ Google Cloud Storage (this is not Google Drive)\n   \\ &quot;google cloud storage&quot;\n12 \/ Google Drive\n   \\ &quot;drive&quot;\n13 \/ Hubic\n   \\ &quot;hubic&quot;\n14 \/ JottaCloud\n   \\ &quot;jottacloud&quot;\n15 \/ Local Disk\n   \\ &quot;local&quot;\n16 \/ Mega\n   \\ &quot;mega&quot;\n17 \/ Microsoft Azure Blob Storage\n   \\ &quot;azureblob&quot;\n18 \/ Microsoft OneDrive\n   \\ &quot;onedrive&quot;\n19 \/ OpenDrive\n   \\ &quot;opendrive&quot;\n20 \/ Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)\n   \\ &quot;swift&quot;\n21 \/ Pcloud\n   \\ &quot;pcloud&quot;\n22 \/ QingCloud Object Storage\n   \\ &quot;qingstor&quot;\n23 \/ SSH\/SFTP Connection\n   \\ &quot;sftp&quot;\n24 \/ Webdav\n   \\ &quot;webdav&quot;\n25 \/ Yandex Disk\n   \\ &quot;yandex&quot;\n26 \/ http Connection\n   \\ &quot;http&quot;\nStorage&gt; 12  # \u9009\u62e912\uff0cGoogle Drive\n** See help for drive backend at: https:\/\/rclone.org\/drive\/ **\n\nGoogle Application Client Id\nLeave blank normally.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nclient_id&gt;  # \u7559\u7a7a\uff0c\u56de\u8f66\nGoogle Application Client Secret\nLeave blank normally.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nclient_secret&gt;  # \u7559\u7a7a\uff0c\u56de\u8f66\nScope that rclone should use when requesting access from drive.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nChoose a number from below, or type in your own value\n 1 \/ Full access all files, excluding Application Data Folder.\n   \\ &quot;drive&quot;\n 2 \/ Read-only access to file metadata and file contents.\n   \\ &quot;drive.readonly&quot;\n   \/ Access to files created by rclone only.\n 3 | These are visible in the drive website.\n   | File authorization is revoked when the user deauthorizes the app.\n   \\ &quot;drive.file&quot;\n   \/ Allows read and write access to the Application Data folder.\n 4 | This is not visible in the drive website.\n   \\ &quot;drive.appfolder&quot;\n   \/ Allows read-only access to file metadata but\n 5 | does not allow any access to read or download file content.\n   \\ &quot;drive.metadata.readonly&quot;\nscope&gt; 1\nID of the root folder\nLeave blank normally.\nFill in to access &quot;Computers&quot; folders. (see docs).\nEnter a string value. Press Enter for the default (&quot;&quot;).\nroot_folder_id&gt;  # \u7559\u7a7a\uff0c\u56de\u8f66\nService Account Credentials JSON file path\nLeave blank normally.\nNeeded only if you want use SA instead of interactive login.\nEnter a string value. Press Enter for the default (&quot;&quot;).\nservice_account_file&gt;\nEdit advanced config? (y\/n)\ny) Yes\nn) No\ny\/n&gt; n\nRemote config\nUse auto config?\n * Say Y if not sure\n * Say N if you are working on a remote or headless machine or Y didn't work\ny) Yes\nn) No\ny\/n&gt; n\nIf your browser doesn't open automatically go to the following link: https:\/\/accounts.google.com\/o\/oauth2\/auth?access_type=offline&amp;client_id=XXXXXXXXXXX.apps.googleusercontent.com&amp;redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&amp;response_type=code&amp;scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&amp;state=XXXXXXXXXXXXXXXXXXXX\nLog in and authorize rclone for access  # \u4f1a\u5f39\u51fa\u6d4f\u89c8\u5668\uff0c\u8981\u6c42\u4f60\u767b\u5f55\u8d26\u53f7\u8fdb\u884c\u6388\u6743\u3002\u5982\u679c\u6ca1\u6709\u5f39\u51fa\uff0c\u590d\u5236\u4e0a\u9762\u7684\u94fe\u63a5\u5230\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u8fdb\u884c\u6388\u6743\u3002\nEnter verification code&gt;  # \u5728\u8fd9\u91cc\u8f93\u5165\u7f51\u9875\u4e0a\u663e\u793a\u7684\u9a8c\u8bc1\u7801\n\nConfigure this as a team drive?\ny) Yes\nn) No\ny\/n&gt; y\nFetching team drive list...\nNo team drives found in your account--------------------\n[Google]\ntype = drive\nscope = drive\ntoken = {&quot;access_token&quot;:&quot;XXXXXXXXXXXXXXXXXXXXX&quot;}\n--------------------\ny) Yes this is OK\ne) Edit this remote\nd) Delete this remote\ny\/e\/d&gt; y\nCurrent remotes:\n\nName                 Type\n====                 ====\nGoogle               drive\nP3TERX               onedrive\n\ne) Edit existing remote\nn) New remote\nd) Delete remote\nr) Rename remote\nc) Copy remote\ns) Set configuration password\nq) Quit config\ne\/n\/d\/r\/c\/s\/q&gt; q<\/pre><\/div>\n\n\n\n<p>\u81f3\u6b64\uff0cRclone \u5df2\u6210\u529f\u8fde\u63a5\u5230\u4e86 Google Drive \u7f51\u76d8\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_6\"><span class=\"ez-toc-section\" id=\"%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B\"><\/span>\u4f7f\u7528\u6559\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\u4f60\u53ef\u4ee5\u53bb\u770b&nbsp;<a href=\"https:\/\/p3terx.com\/tag\/rclone\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rclone \u76f8\u5173\u4f7f\u7528\u6559\u7a0b<\/a>&nbsp;\u6765\u4e86\u89e3 Rclone \u66f4\u591a\u8fdb\u9636\u4f7f\u7528\u6280\u5de7\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_7\"><span class=\"ez-toc-section\" id=\"%E5%8F%82%E8%80%83\"><\/span>\u53c2\u8003<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"https:\/\/p3terx.com\/go\/aHR0cHM6Ly9yY2xvbmUub3JnL2RvY3Mv\" target=\"_blank\" rel=\"noreferrer noopener\">rclone \u5b98\u65b9\u624b\u518c<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/p3terx.com\/go\/aHR0cHM6Ly93d3cubW9lcmF0cy5jb20vYXJjaGl2ZXMvNDkxLw==\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 Debian\/Ubuntu \u4e0a\u4f7f\u7528 rclone \u6302\u8f7d OneDrive \u7f51\u76d8<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>\u672c\u6587\u4f5c\u8005\uff1a<\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/p3terx.com\/\" target=\"_blank\">P3TERX<\/a><\/p><p><strong>\u539f\u6587\u94fe\u63a5\uff1a<\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/p3terx.com\/archives\/rclone-installation-and-configuration-tutorial.html\" target=\"_blank\">https:\/\/p3terx.com\/archives\/rclone-installation-and-configuration-tutorial.html<\/a><\/p><\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 Rclone \u662f\u4e00\u4e2a\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"\u3010\u7f51\u76d8\u3011Rclone \u5b89\u88c5\u914d\u7f6e\u6559\u7a0b &#8211; \u8fde\u63a5 OneDrive \u548c Google Drive[\u8f6c]\" class=\"read-more button\" href=\"https:\/\/blog.kimi.ee\/?p=69#more-69\">Read more<span class=\"screen-reader-text\">\u3010\u7f51\u76d8\u3011Rclone \u5b89\u88c5\u914d\u7f6e\u6559\u7a0b &#8211; \u8fde\u63a5 OneDrive \u548c Google Drive[\u8f6c]<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[4,6,44,8,43],"_links":{"self":[{"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=\/wp\/v2\/posts\/69"}],"collection":[{"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=69"}],"version-history":[{"count":0,"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kimi.ee\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}