Rclone config create and Gdrive/Team Drive


#1

I’m using rclone config create to automate creation of new remotes. However I’ve noticed that when creating a Google Drive remote using this method, rclone will answer yes whether to configure the remote as a Team Drive, and will wait for further input. Is it possible to tell config create not to set up a Gdrive remote as Team Drive? I tried adding team_drive false and team_drive no but that doesn’t work.

$ rclone config create drive-test drive env_auth true -vv
2018/05/15 15:52:13 DEBUG : rclone: Version "v1.41" starting with parameters ["rclone" "config" "create" "drive-test" "drive" "env_auth" "true" "-vv"]
2018/05/15 15:52:13 DEBUG : Using config file from "/home/.config/rclone/rclone.conf"
Remote config
2018/05/15 15:52:13 DEBUG : Starting auth server on 127.0.0.1:53682
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access
Waiting for code...
2018/05/15 15:52:17 DEBUG : Received request on auth server
2018/05/15 15:52:17 DEBUG : Successfully got code
Got code
Paste the following into your remote machine --->
{"access_token":"...","token_type":"Bearer","refresh_token":"...","expiry":"2018-05-15T16:52:17.963887229-06:00"}
<---End paste2018/05/15 15:52:17 DEBUG : drive-test: Added new token to config, still needs to be saved
2018/05/15 15:52:17 DEBUG : Closing auth server
2018/05/15 15:52:17 DEBUG : Closed auth server with error: accept tcp 127.0.0.1:53682: use of closed network connection
Configure this as a team drive?
Fetching team drive list...
Choose a number from below, or type in your own value
1 / Team Drive
\ "..."
Enter a Team Drive ID>


#2

I’ve fixed this here

https://beta.rclone.org/v1.41-061-g96977547/ (uploaded in 15-30 mins)

This will be in the latest beta from now on and in v1.42