Rc mount point without config

I'm looking to create the equivalent of this command as part of an rclone rc call.

set "RCLONE_WEBDAV_URL=http://127.0.0.1:4443"
set "RCLONE_CONFIG_webdav_TYPE=webdav"
set "RCLONE_WEBDAV_VENDOR=other"
rclone mount webdav: D:/WebDAV

This is necessary because the WebDAV URL is going to be constantly changing. I'd rather not have to rely on making a mount in the config and keep changing it with config/update.

Because the rc daemon is going to be in a separate environment, it won't be able to see what the environment variables are changed to after it's initialized.

Use the connection string style config here: Documentation instead of environment variables.

That should work fine with the RC.

Thanks, I tried this before but I messed up the position of the last colon. Now I've got it working.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.