嘟嘟社区

怎么让rclone 后台运行?


请教。
Win版
.bat

@echo off

if "%1"=="h" goto begin

start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit

:begin
cd files
//S:为你需要的盘符,10G为缓存最大容量。
rclone mount mjj:/ Z: –cache-dir ./cache –vfs-cache-mode minimal –vfs-cache-max-size 10G &

NSSM
https://blog.storagemadeeasy.com/running-windows-rclone-mount-as-a-service/

AlwaysUp
https://www.coretechnologies.com/products/AlwaysUp/Apps/InstallRcloneAsWindowsService.html