Help with rclone config create

i use script

rclone config create --config=D:\Programs\rclone\rclone.conf remote1 drive client_id xxx client_secret xxx scope drive team_drive xxx

result

[remote1]
type = drive
client_id = xxx
client_secret = xxx
token = xxx

i need result

[remote1]
type = drive
client_id = xxx
client_secret = xxx
scope = drive
token = xxx
team_drive = xxx

Thanks for the help. :laughing:

This worked for me with rclone v1.50.2

rclone config create --config /tmp/config remote1 drive client_id xxx.apps.googleusercontent.com client_secret xxx scope drive team_drive 0AJxxx

Producing

[remote1]
type = drive
client_id = xxx.apps.googleusercontent.com
client_secret = xxx
scope = drive
team_drive = 0AJxxx
token = XXX

What version of rclone did you try?

1 Like

I try again and it works.

rclone v1.50.2-099-g69ac04fe-beta and rclone v1.50.2

Thanks a lot for help

1 Like