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

查看所有标签

猜你喜欢:

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

Google總部大揭密

Google總部大揭密

史蒂芬.李維 / 陳重亨 / 財信 / 2011-11

∣如果有一天,Google的搜尋引擎突然故障 ∣GMAIL信件全數消失 ∣Google Maps、Google Docs、Google行事曆等所有雲端服務全面停擺 ∣我們該怎麼辦?! 歷史上像Google如此成功,且廣受推崇的企業可沒幾家。它改變了網路的使用方式,也成了我們生活不可或缺的一部分。這到底是怎麼辦到的? 《連線》雜誌資深主筆史蒂芬.李維史無前例同時取得LS......一起来看看 《Google總部大揭密》 这本书的介绍吧!

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

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

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具