Because I'm running it on colab to connect my one drive I don't want to go through the whole process every time since I know the key-value pairs that i want by running the rclone config dump > my_config.conf
so how is there some way to load this again to a new notebook everytime just by loading this file?
something like rclone config create my_config.conf
welcome to the forum,
the config file is a simple .ini text file
can copy it from one machine to another.
and can specify location using --config=/path/to/rclone.conf
1 Like
Can you give me the command exactly to create a new mount gtiven a .conf file?
It's not exactly an import of the existing config file, but you should be able to pass all required key-value pairs in the command: rclone config create
can you write for me the exact command for this example .conf file?
{
"onedrive": {
"drive_id": "my_id",
"drive_type": "business",
"token": "{\"access_token\":my_auth_token}",
"type": "onedrive"
}
}
rclone --config=test.conf config create testremote onedrive drive_id=my_id drive_type=business token=\"{"access_token":my_auth_token}\"
This will create the required remote in the test.conf
file.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.