rclone 官方版无管理员OneDrive使用

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

内容简介:用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使用》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

The Linux Command Line

The Linux Command Line

William E. Shotts Jr. / No Starch Press, Incorporated / 2012-1-17 / USD 39.95

You've experienced the shiny, point-and-click surface of your Linux computer-now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very ......一起来看看 《The Linux Command Line》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

随机密码生成器
随机密码生成器

多种字符组合密码