rclone config # 选择新远程 No remotes found, make a new one? n) New remote s) Set configuration password q) Quit config n/s/q> n #选择n # 设置名字 name> alist #以alist为例 Type of storage to configure. Choose a number from below, or typein your own value [snip] XX / WebDAV \ "webdav" [snip] Storage> webdav #输入webdav # 设置远程地址url http://your_alist_ip:port/dav URL of http host to connect to Choose a number from below, or typein your own value 1 / Connect to example.com \ "https://example.com" url> http://127.0.0.1:5244/dav #这里设置alist的地址和端口,后面要带dav,http://#.#.#.#:5244/dav/,#号记得替换为ip # 这里选6 选择带有other的字段 Name of the WebDAV site/service/software you are using Choose a number from below, or typein your own value 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 / Other site/service or software \ (other) vendor> 6 # 设置远程账号 User name user> admin #alist的账号 # 设置远程密码 Password. y) Yes typein my own password g) Generate random password n) No leave this optional password blank y/g/n> y #这里输入y Enter the password: #输入alist密码 password: Confirm the password: #再次输入密码 password: # 直接回车,不用管 Bearer token instead of user/pass (e.g. a Macaroon) bearer_token>
Edit advanced config? y) Yes n) No (default) y/n> n #选择n
#后面一直回车 # 你的远程信息 -------------------- [remote] type = webdav url = http://#.#.#.#:5244/dav/ vendor = Other user = admin pass = *** ENCRYPTED *** -------------------- # 确认 y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> y #输入y # q退出