rclone 官方版無管理員OneDrive使用
用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: http://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 \ "http://example.com" url> http://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> [email protected] #這裡填賬號 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 = http://xxx-my.sharepoint.com/personal/xxx_abc_edu_cn/Documents vendor = sharepoint user = [email protected] 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>
配置好是可以使用了,但是問題還是不少的.
[email protected]:~# 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 [email protected]:~# 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
- 傳輸效率:低
- 穩定性:低
- 容錯:低
常見錯誤:
- This is a temporary issue, so try again in a few minutes. => 檔案超大,網速過慢.(一分鐘上傳不完就會提示失敗)
- 413 Request Entity Too Large => 檔案太大,直接被拒.
- Something went wrong => 上傳速度過慢.
- 下載檔案大小不正確 => 下載的檔案超大.
「其他文章」
- Yocto 幾個常用映象差異 (以FSL官源為例)
- ZYNQ U-Boot 程式碼分析 Vivado SDK 載入除錯
- Debian切換到netplan管理網路
- 最簡單的方法入門CUDA
- Docker IPv6 – iptables 對映方法
- NDP代理模仿Routed Prefix功能
- QCOW2的幾種預分配規則建立時間對比
- 使用命令KVM小雞
- RK 純開原始碼構建
- TinyML ESP32 人檢測應用的移植和使用
- 建立並取得Mongodb Altas賬戶並取得連線字串
- 折騰4T只需5歐的Seedbox – 含FlexGet
- Hostens – 低價穩定的大盤雞
- TrustZone 使用者程式設計模型(GPIO Toggle例子)
- RGB LED Buck Converters 電路分析
- AWS 新區非洲(開普敦) 網路質量測試
- GitHub 教師工具箱
- I.MX RT 串列埠外設
- rclone 官方版無管理員OneDrive使用
- rclone 無管理員 Onedrive 使用