#rclone mount is amazing, but an annoyance on Windows is that the only way to safely unmount is to control+c, which means you have to keep console windows around. But there is an alternative which avoids this: rclone remote control. With that, you can mount and unmount as many remotes as you like using rc. Example:
# You don't need this console window, so you can start it hidden or whatever.
# No auth is obviously insecure.
rclone rcd --rc-no-auth
# Whenever you like later:
rclone rc mount/mount fs=drive: mountPoint=g:
rclone rc mount/unmount mountPoint=g:
# To exit the rclone remote control server:
rclone rc core/quit
Of course, after I spent a while figuring this out, I realised that keeping console windows around really isn't that bad if I'm only mounting one or two remotes at a time, but anyway... maybe this helps no one.
# You don't need this console window, so you can start it hidden or whatever.
# No auth is obviously insecure.
rclone rcd --rc-no-auth
# Whenever you like later:
rclone rc mount/mount fs=drive: mountPoint=g:
rclone rc mount/unmount mountPoint=g:
# To exit the rclone remote control server:
rclone rc core/quit
Of course, after I spent a while figuring this out, I realised that keeping console windows around really isn't that bad if I'm only mounting one or two remotes at a time, but anyway... maybe this helps no one.
This entry was edited (4 weeks ago)
Chi Kim
in reply to Jamie Teh • • •aaron
in reply to Jamie Teh • • •x0
in reply to Jamie Teh • • •nOoRuL
in reply to Jamie Teh • • •