{"id":70,"date":"2017-05-26T17:19:00","date_gmt":"2017-05-26T17:19:00","guid":{"rendered":"https:\/\/a1253247.info\/blogs\/2017\/05\/26\/linux%e5%9c%a8linux%e7%92%b0%e5%a2%83%e4%b8%8b%e4%bd%bf%e7%94%a8onedrive%e7%b6%b2%e8%b7%af%e7%a1%ac%e7%a2%9f\/"},"modified":"2019-05-18T18:07:53","modified_gmt":"2019-05-18T18:07:53","slug":"linux%e5%9c%a8linux%e7%92%b0%e5%a2%83%e4%b8%8b%e4%bd%bf%e7%94%a8onedrive%e7%b6%b2%e8%b7%af%e7%a1%ac%e7%a2%9f","status":"publish","type":"post","link":"https:\/\/a1253247.info\/blogs\/2017\/05\/linux%e5%9c%a8linux%e7%92%b0%e5%a2%83%e4%b8%8b%e4%bd%bf%e7%94%a8onedrive%e7%b6%b2%e8%b7%af%e7%a1%ac%e7%a2%9f.html","title":{"rendered":"[Linux]\u5728Linux\u74b0\u5883\u4e0b\u4f7f\u7528OneDrive\u7db2\u8def\u786c\u789f"},"content":{"rendered":"<div><\/div>\n<div data-href=\"https:\/\/plus.google.com\/u\/0\/111431636196650329676\" data-rel=\"relationshipType\"><\/div>\n<div data-action=\"like\" data-href=\"https:\/\/pacermania.blogspot.com\/2017\/05\/linuxlinuxonedrive.html\" data-layout=\"standard\" data-share=\"false\" data-show-faces=\"true\" data-size=\"small\"><\/div>\n<div style=\"clear: both; text-align: left;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/4.bp.blogspot.com\/-lgowzw1DkTs\/WShYuVAnP-I\/AAAAAAAAQ-w\/-e2oWZ0ye5ssNFGdkSMS2sthTvCVhYDOgCLcB\/s1600\/2017-05-27%2B00-09-57%2B%25E7%259A%2584%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/4.bp.blogspot.com\/-lgowzw1DkTs\/WShYuVAnP-I\/AAAAAAAAQ-w\/-e2oWZ0ye5ssNFGdkSMS2sthTvCVhYDOgCLcB\/s400\/2017-05-27%2B00-09-57%2B%25E7%259A%2584%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596.png\" width=\"400\" height=\"300\" border=\"0\" data-original-height=\"768\" data-original-width=\"1024\" \/><\/a><\/div>\n<div style=\"clear: both; text-align: left;\">\u96d6\u7136\u7db2\u8def\u786c\u789f\u6709\u8a31\u591a\u9078\u64c7\uff0c\u4f8b\u5982<a href=\"https:\/\/www.dropbox.com\/\">Dropbox<\/a>\u3001<a href=\"https:\/\/drive.google.com\/\">Google Drive<\/a>\u7b49\uff0c\u800c\u4e14Dropbox\u548cGoogle Drive\u90fd\u6709Linux\u7684\u5957\u4ef6\u53ef\u4ee5\u4f7f\u7528\uff0c\u4f46\u662f\u56e0\u70ba\u4f7f\u7528\u7fd2\u6163\u7684\u554f\u984c\uff0c\u6240\u4ee5\u6700\u5f8c\u9084\u662f\u6c7a\u5b9a\u5728\u6211\u7684Linux\u4f5c\u696d\u7cfb\u7d71\uff0c\u5b89\u88dd<a href=\"https:\/\/github.com\/xybu\/onedrive-d-old\">onedrive-d<\/a>\u7684\u5957\u4ef6\u3002<\/div>\n<p>\u5176\u5be6\u7528\u8f9c\u72d7\u8f38\u5165\u95dc\u9375\u5b57onedrive-d\u641c\u5c0b\uff0c\u5c31\u6703\u627e\u5230\u5f88\u591a\u5b89\u88dd\u6559\u5b78\u3002\u5927\u81f4\u4e0a\u5c31\u4e0d\u5916\u4e4e\u7528GIT\u7684\u65b9\u5f0f\u6216\u662f\u76f4\u63a5\u4e0b\u8f09zip\u5f8c\u89e3\u58d3\u7e2e\uff0c\u7136\u5f8c\u57f7\u884c<br \/>\n<span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">cd onedrive-d<\/span><br \/>\n<span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">.\/install.sh<\/span><\/p>\n<p>\u63a5\u8457\u6709\u53ef\u80fd\u6703\u51fa\u73fe\u63d0\u793a\u8981\u4f60\u5b89\u88dd\u4e00\u4e9bPython\u7684\u5957\u4ef6\uff0c\u57fa\u672c\u4e0a\u5c31\u662f\u4e00\u76f4\u6309enter\u6216\u662fyes\u5c31\u5c0d\u4e86\u3002<br \/>\n\u4e0d\u904e\u6211\u5728\u5b89\u88dd\u7684\u6642\u5019\u9047\u5230\u7f3a\u5c11setuptool\u7684\u932f\u8aa4\u8a0a\u606f\uff0c\u5f8c\u4f86\u53c8\u53bb\u8f9c\u72d7\u641c\u5c0b\uff0c\u627e\u5230\u4e86\u89e3\u6c7a\u8fa6\u6cd5\u3002\u82e5\u9047\u5230\u4e0a\u8ff0\u60c5\u5f62\uff0c\u8acb\u57f7\u884c<\/p>\n<pre style=\"background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;\">sudo apt<span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;\">-<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;\">get install python<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;\">-<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;\">setuptools<\/span><\/pre>\n<p>\u6216\u662f<\/p>\n<pre style=\"background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;\"><code style=\"border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;\"><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">sudo apt<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">-<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">get install python3<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">-<\/span><span style=\"border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">setuptools<\/span><\/code><\/pre>\n<p>(For Python 3.x)<\/p>\n<p>\u7136\u5f8c\u91cd\u65b0\u57f7\u884c.\/install.sh\u4e00\u6b21\u3002<\/p>\n<p>\u5728\u5b89\u88dd\u7684\u904e\u7a0b\u7576\u4e2d\u9084\u6703\u8981\u6c42\u8f38\u5165onedrive\u7684\u5e33\u865f\u548c\u5bc6\u78bc\uff0c\u4f46\u662f\u9019\u90e8\u4efd\u5c31\u8981\u624b\u52d5\u5b8c\u6210\uff0c\u5fc5\u9808\u5148\u5728\u7d42\u7aef\u6a5f\u756b\u9762\u7684\u7db2\u5740\u8cbc\u5728\u700f\u89bd\u5668\u4e0a\uff0c\u63a5\u8457\u6703\u51fa\u73fe\u8981\u6c42\u8f38\u5165onedrive\u5e33\u865f\u548c\u5bc6\u78bc\u7684\u63d0\u793a\uff0c\u8f38\u5165\u5b8c\u6210\u5f8c\uff0c\u700f\u89bd\u5668\u7684\u756b\u9762\u6703\u4e00\u7247\u7a7a\u767d\uff0c\u63a5\u8457\u5c31\u628a\u7a7a\u767d\u9801\u9762\u4e0a\u7684\u7db2\u5740\u8907\u88fd\uff0c\u7136\u5f8c\u8cbc\u5728\u7d42\u7aef\u6a5f\u7684\u63d0\u793a\u5217\uff0c\u5982\u4e0b\u5716\u3002<\/p>\n<div style=\"clear: both; text-align: left;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/3.bp.blogspot.com\/-9vOu6VZKhhM\/WShfwgIC9aI\/AAAAAAAAQ_A\/QkNEy_ymEiwC9Sl1hsADfLvcJpHe1SjTQCLcB\/s1600\/27PtXv5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-9vOu6VZKhhM\/WShfwgIC9aI\/AAAAAAAAQ_A\/QkNEy_ymEiwC9Sl1hsADfLvcJpHe1SjTQCLcB\/s400\/27PtXv5.png\" width=\"400\" height=\"213\" border=\"0\" data-original-height=\"194\" data-original-width=\"363\" \/><\/a><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\">\u63a5\u4e0b\u4f86\u5c31\u662f\u4e00\u76f4\u6309enter\uff0c\u6216\u662f\u8f38\u5165y\/n\uff0c\u61c9\u8a72\u5c31\u53ef\u4ee5\u5b8c\u6210\u6574\u500b\u5b89\u88dd\u4e86\u3002onedrive-d\u9810\u8a2d\u7684\u5b58\u653e\u8cc7\u6599\u593e\u70ba~\/OneDrive\uff0c\u6240\u4ee5\u4ee5\u5f8c\u8981\u540c\u6b65\u8cc7\u6599\u7684\u8a71\uff0c\u5c31\u662f\u628a\u8cc7\u6599\u4e1f\u5230\u9019\u500b\u8cc7\u6599\u593e\uff0c\u5982\u4e0b\u5716\u6240\u793a\u3002<\/div>\n<div style=\"clear: both; text-align: left;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/3.bp.blogspot.com\/-RNukgKayI8I\/WShjQZtLFUI\/AAAAAAAAQ_M\/mHndm2METhI6q83EvfSYRy1xS2lBejacQCLcB\/s1600\/2017-05-27%2B01-17-06%2B%25E7%259A%2584%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-RNukgKayI8I\/WShjQZtLFUI\/AAAAAAAAQ_M\/mHndm2METhI6q83EvfSYRy1xS2lBejacQCLcB\/s400\/2017-05-27%2B01-17-06%2B%25E7%259A%2584%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596.png\" width=\"400\" height=\"300\" border=\"0\" data-original-height=\"768\" data-original-width=\"1024\" \/><\/a><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\">\u5982\u679c\u8981\u555f\u52d5\u7684\u8a71\uff0c\u53ef\u4ee5\u5728\u7d42\u7aef\u6a5f\u756b\u9762\u57f7\u884c\uff1a<\/div>\n<div style=\"clear: both; text-align: left;\"><span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">onedrive-d start<\/span><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\">\u5982\u679c\u8981\u4e2d\u6b62\u7684\u8a71\uff0c\u5c31\u5728\u7d42\u7aef\u6a5f\u756b\u9762\u57f7\u884c\uff1a<\/div>\n<div style=\"clear: both; text-align: left;\"><span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">onedrive-d stop<\/span><\/div>\n<div style=\"clear: both; text-align: left;\"><span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">\u00a0<\/span><\/div>\n<div style=\"clear: both; text-align: left;\">\u5982\u679c\u8981\u770b\u76ee\u524donedrive-d\u7684\u72c0\u614b\uff0c\u5247\u57f7\u884c\uff1a<\/div>\n<div style=\"clear: both; text-align: left;\"><span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">onedrive-d status<\/span><\/div>\n<div style=\"clear: both; text-align: left;\"><span style=\"background-color: #dfdfdf; color: #333333; font-family: 'arial' , 'tahoma' , 'helvetica' , 'freesans' , sans-serif; font-size: 16px;\">\u00a0<\/span><\/div>\n<div style=\"clear: both; text-align: left;\">\u96d6\u7136onedrive-d\u7684\u754c\u9762\u5f88\u967d\u6625\uff0c\u4e0d\u904e\u81f3\u5c11\u53ef\u4ee5\u8b93Linux\u7684\u4f7f\u7528\u8005\u4f7f\u7528onedrive\u7684\u670d\u52d9\uff0c\u4e0d\u9700\u8981\u70ba\u4e86onedrive\u7684\u670d\u52d9\u9077\u5c31\u4f5c\u696d\u7cfb\u7d71\uff0c\u4e5f\u7b97\u662fLinux\u4f7f\u7528\u8005\u7684\u798f\u97f3\u5427\uff01<\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\"><b>\u5f15\u7528\u8cc7\u6599<\/b><\/div>\n<div style=\"clear: both; text-align: left;\"><a href=\"https:\/\/askubuntu.com\/questions\/676210\/how-to-sync-onedrive-on-ubuntu-14-04\">How to sync OneDrive on Ubuntu 14.04?<\/a><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div><a href=\"http:\/\/linuxblog.darkduck.com\/2016\/10\/2-linux-clients-for-microsofts-onedrive.html\">2 Linux clients for Microsoft&#8217;s OneDrive. Yes, they work, but&#8230;<\/a><\/div>\n<div style=\"clear: both; text-align: left;\"><a href=\"https:\/\/stackoverflow.com\/questions\/14426491\/python-3-importerror-no-module-named-setuptools\">\u00a0<\/a><\/div>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/14426491\/python-3-importerror-no-module-named-setuptools\">Python 3: ImportError &#8220;No Module named Setuptools&#8221;<\/a><\/p>\n<div><\/div>\n<p><noscript>Please enable JavaScript to view the <a href=\"https:\/\/disqus.com\/?ref_noscript\">comments powered by Disqus.<\/a><\/noscript><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u96d6\u7136\u7db2\u8def\u786c\u789f\u6709\u8a31\u591a\u9078\u64c7\uff0c\u4f8b\u5982Dropbox\u3001Google Drive\u7b49\uff0c\u800c\u4e14Dropbox\u548cGoogle Dr [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_canonical_pages":false,"_canonical_pages_meta":[],"footnotes":""},"categories":[137,279,132],"tags":[293],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-linux","category-onedrive","category-132","tag-linux"],"_links":{"self":[{"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":2,"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":693,"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/posts\/70\/revisions\/693"}],"wp:attachment":[{"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/a1253247.info\/blogs\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}