使用脚本下载安装Rclone:
curl https://rclone.org/install.sh | sudo bash
Rclone新增远程配置:
输入n
,New remote
rclone config
输入name
,自由命名
Enter name for new remote.
name> infini-cloud
然后会出现很多服务类型,自己查看WebDAV
对应的序号,然后输入url
地址
51 / WebDAV
\ (webdav)
52 / Yandex Disk
\ (yandex)
53 / Zoho
\ (zoho)
54 / premiumize.me
\ (premiumizeme)
55 / seafile
\ (seafile)
Storage> 51
Option url.
URL of http host to connect to.
E.g. https://example.com.
Enter a value.
url> https://higa.teracloud.jp/dav/
然后选择供应商,可以选择,或者自定义,或者不输入直接回车
Option vendor.
Name of the WebDAV site/service/software you are using.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
1 / Fastmail Files
\ (fastmail)
2 / Nextcloud
\ (nextcloud)
3 / Owncloud
\ (owncloud)
4 / Sharepoint Online, authenticated by Microsoft account
\ (sharepoint)
5 / Sharepoint with NTLM authentication, usually self-hosted or on-premises
\ (sharepoint-ntlm)
6 / rclone WebDAV server to serve a remote over HTTP via the WebDAV protocol
\ (rclone)
7 / Other site/service or software
\ (other)
vendor> infinicloud
输入用户名
Option user.
User name.
In case NTLM authentication is used, the username should be in the format 'Domain\User'.
Enter a value. Press Enter to leave empty.
user>
密码方式,选择y
,输入两次密码
Option pass.
Password.
Choose an alternative below. Press Enter for the default (n).
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:
直接回车3次,跳过bearer_token
,高级配置,确认,最后输入q
退出
Option bearer_token.
Bearer token instead of user/pass (e.g. a Macaroon).
Enter a value. Press Enter to leave empty.
bearer_token>
Edit advanced config?
y) Yes
n) No (default)
y/n>
验证配置:(把remote改成你设置的name)
#列出 WebDAV 顶层的目录
rclone lsd remote:
#列出 WebDAV 中的所有文件
rclone ls remote:
自动挂载:
参考挂载OneDrive的,一个服务挂载一个,独立进程
我使用的是infini-cloud 永久免费45G容量
1.注册送20G免费容量
2.填写推荐码送5G容量,【FKAZR】
3.官方有个活动是老用户通过官方的邮件邀请可获得 10G 永久空间的升级,可以将(jp,en)语言的两个链接各领取一次。新用户也能用,啥时候失效看缘分吧,把UserID
替换成你注册的User ID
https://infini-cloud.net/ja/modules/bonus/code=202304_10GB_en/userid=UserID
https://infini-cloud.net/en/modules/bonus/code=202304_10GB_jp/userid=UserID
zui'hou