rclone 官方版无管理员OneDrive使用

栏目: IT技术 · 发布时间: 3年前

内容简介:用WebDAV配置.配置好是可以使用了,但是问题还是不少的.rclone copy “abceducn:/傅颖 – 谁羡慕像我这样强的人.mp3” . -P

用WebDAV配置.

No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
name> abceducn #这里给盘写个名字
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
 1 / 1Fichier
   \ "fichier"
 2 / Alias for an existing remote
   \ "alias"
 3 / Amazon Drive
   \ "amazon cloud drive"
 4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc)
   \ "s3"
 5 / Backblaze B2
   \ "b2"
 6 / Box
   \ "box"
 7 / Cache a remote
   \ "cache"
 8 / Citrix Sharefile
   \ "sharefile"
 9 / Dropbox
   \ "dropbox"
10 / Encrypt/Decrypt a remote
   \ "crypt"
11 / FTP Connection
   \ "ftp"
12 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
13 / Google Drive
   \ "drive"
14 / Google Photos
   \ "google photos"
15 / Hubic
   \ "hubic"
16 / In memory object storage system.
   \ "memory"
17 / JottaCloud
   \ "jottacloud"
18 / Koofr
   \ "koofr"
19 / Local Disk
   \ "local"
20 / Mail.ru Cloud
   \ "mailru"
21 / Mega
   \ "mega"
22 / Microsoft Azure Blob Storage
   \ "azureblob"
23 / Microsoft OneDrive
   \ "onedrive"
24 / OpenDrive
   \ "opendrive"
25 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
26 / Pcloud
   \ "pcloud"
27 / Put.io
   \ "putio"
28 / QingCloud Object Storage
   \ "qingstor"
29 / SSH/SFTP Connection
   \ "sftp"
30 / Sugarsync
   \ "sugarsync"
31 / Transparently chunk/split large files
   \ "chunker"
32 / Union merges the contents of several remotes
   \ "union"
33 / Webdav
   \ "webdav"
34 / Yandex Disk
   \ "yandex"
35 / http Connection
   \ "http"
36 / premiumize.me
   \ "premiumizeme"
Storage> 33 #这里选WebDAV
** See help for webdav backend at: https://rclone.org/webdav/ **

URL of http host to connect to
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
 1 / Connect to example.com
   \ "https://example.com"
url> https://xxx-my.sharepoint.com/personal/xxx_abc_edu_cn/Documents #这里给出SharePoint对应地址,比如这里tenant,用户名需要改为自己的.
Name of the Webdav site/service/software you are using
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
 1 / Nextcloud
   \ "nextcloud"
 2 / Owncloud
   \ "owncloud"
 3 / Sharepoint
   \ "sharepoint"
 4 / Other site/service or software
   \ "other"
vendor> 3 #这里选SharePoint
User name
Enter a string value. Press Enter for the default ("").
user> xxx@abc.edu.cn #这里填账号
Password.
y) Yes type in my own password
g) Generate random password
n) No leave this optional password blank (default)
y/g/n> y
Enter the password:
password: #这里填密码(不会显示)
Confirm the password:
password: #这里填密码(不会显示)
Bearer token instead of user/pass (eg a Macaroon)
Enter a string value. Press Enter for the default ("").
bearer_token> 
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> 
Remote config
--------------------
[dlnueducn]
type = webdav
url = https://xxx-my.sharepoint.com/personal/xxx_abc_edu_cn/Documents
vendor = sharepoint
user = xxx@abc.edu.cn
pass = *** ENCRYPTED ***
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> 
Current remotes:

Name                 Type
====                 ====
dlnueducn            webdav

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>

配置好是可以使用了,但是问题还是不少的.

root@debian-s-1vcpu-1gb-sfo2-01:~# rclone copy 1GB.test abceducn:/ -P
Transferred:      953.674M / 953.674 MBytes, 100%, 17.628 MBytes/s, ETA 0s
Errors:                 0
Checks:                 0 / 0, -
Transferred:            1 / 1, 100%
Elapsed time:       54.1s
root@debian-s-1vcpu-1gb-sfo2-01:~# rclone ls abceducn:/
1000000000 1GB.test
  9976138 傅颖 - 谁羡慕像我这样强的人.mp3
     8302 Forms/All.aspx
     4250 Forms/DispForm.aspx
     4250 Forms/EditForm.aspx
     1898 Forms/GroupDocuments.aspx
     1898 Forms/SharedWithGroup.aspx
     8302 Forms/SharedWithMe.aspx
     4250 Forms/Upload.aspx
    11389 Forms/template.dotx

rclone copy “abceducn:/傅颖 – 谁羡慕像我这样强的人.mp3” . -P

Transferred: 9.514M / 9.514 MBytes, 100%, 4.298 MBytes/s, ETA 0s

Errors: 0

Checks: 0 / 0, –

Transferred: 1 / 1, 100%

Elapsed time: 2.2s

限制比较多:

  • 不支持世纪互联
  • 文件大小限制: 2048MByte
  • 传输效率:低
  • 稳定性:低
  • 容错:低

常见错误:

  1. This is a temporary issue, so try again in a few minutes. => 文件超大,网速过慢.(一分钟上传不完就会提示失败)
  2. 413 Request Entity Too Large => 文件太大,直接被拒.
  3. Something went wrong => 上传速度过慢.
  4. 下载文件大小不正确 => 下载的文件超大.

以上所述就是小编给大家介绍的《rclone 官方版无管理员OneDrive使用》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

科技投资新时代:TMT投资方法、趋势与热点聚焦

科技投资新时代:TMT投资方法、趋势与热点聚焦

马军、宋辉、段迎晟 / 人民邮电出版社 / 2018-3 / 69.00

中国 TMT 行业(科技、媒体及通信)起步较晚但充满朝气。2017 年,TMT 板块的IPO 数量占到了总数的四分之一;对于投资者来说,投资 TMT 的收益非常可观。那么,TMT 的投资趋势如何? TMT 行业又有哪些投资热点? 本书立足于 TMT 投资现状,在介绍了 TMT 投资的基本概念之后,作者详细讲述了TMT 投资的基本研究方法、分析视角、整体行情及趋势分析,同时从行业视角分析了包括......一起来看看 《科技投资新时代:TMT投资方法、趋势与热点聚焦》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具