下载辅助工具WinSW 将命令注册为windows服务 WinSW参考地址https://github.com/winsw/winsw 使用xml文件定义服务 新建服务配置文件 命名为rclone.xml 1<service>2<id>rclone</id>3<name>rclone</name>4<description>This service run rclone mount network file systems to local disk</description>5<executable>rclon...
Set WMIService = nothing if Flag then Set WS = Wscript.CreateObject("Wscript.Shell") Set ProcessEnv = WS.Environment("PROCESS") ProcessEnv("https_proxy") = "https://127.0.0.1:1080/" ProcessEnv("http_proxy") = "http://127.0.0.1:1080/" WS.Run "rclone mount GDrive:/ x: --cache-...
将rclone.conf、winsw.exe、复制到同一个目录,再创建rclone.xml如下 <service><id>rclone</id><name>rclone</name><description>This service run rclone mount network file systems to local disk</description><executable>D:\OneDrive\services\rclone\rclone.exe</executable><arguments>mount OneDrive:/ Z: -...
1)Windows客户端:rclone-v1.54.0-windows-amd64.zip 2)下载后将其解压,并将rclone.exe移动到C:WindowsSystem32这个目录,这样就可以使用rclone命令了,如下截图。 查询版本命令:rclone -V,可以在cmd中查询,也可以在powershell中查询。 复制复制复制复制复制复制复制复制...
以将examplebucket挂载到E:盘,并以D:\disk-cache路径作为缓存目录为例。 rclone mount oss-disk:/examplebucket E: --cache-dir D:\disk-cache --vfs-cache-mode writes 返回The service rclone has been started信息,表示挂载成功。此时,您还可以查看到examplebucket(E:)的磁盘。
新建一个rclone.service文件: vi /usr/lib/systemd/system/rclone.service 写入: [Unit] Description=rclone [Service] User=root ExecStart=/usr/bin/rclone mount onedrive:backup /onedrive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 ...
注意第二行从mount开始 要改成你自己的命令 修改完毕后把文本文档改成rclone.vbs 一定要已vbs后缀。如果无法更改,请在windows下打开后缀名 把rclone.vbs放到rclone文件夹即可 Option Explicit Dim WMIService, Process, Processes, Flag, WSSet WMIService = GetObject("winmgmts:{impersonationlevel=impersonate}!.rootci...
挂载命令:rclone mount [remotename]:[remotepath] [localpath] 例如:rclone mount unraid:/mnt/user p: 即可将 unraid 存储池挂载为 Windows 本地的 P 盘 开机自动后台运行 由于在 Windows 下 RClone 不支持参数,故使用 NSSM 来实现 NSSM - the Non-Sucking Service Manager 某种程度上和 NMSL 差不多嘛 同...
Set WMIService = nothing if Flag then Set WS = Wscript.CreateObject("Wscript.Shell") WS.Run "rclone mount GDrive:/ x: --cache-dir F:\Temp --vfs-cache-mode writes", 0 end if 完成后双击运行,你会看到X盘挂载成功。 补充说明下,如果你看到显示的挂载空间其实是个人空间大小,请参阅此issue:...
/F:/: WebDav Server started on http://localhost:8080/ kalem@DESKTOP-R6MR0O4 MINGW64 /f/Downloads/rclone-v1.57.0-windows-amd64 > /rclone.exe mount :webdav: x: --streaming-upload-cutoff=0 -v --webdav-url=http://localhost:8080/ --buffer-size=0 & [2] 2063 2021/11/25 22:30:...