Query regarding google team drives

Hi,

I’ve configured rclone to backup google drive to AWS S3.
Is there a way to tell rclone during the google drive remote configuration to use all the team drives in my google account ?

Configure this as a team drive?
y) Yes
n) No
y/n> y
Fetching team drive list…
Choose a number from below, or type in your own value
1 / Rclone Test
\ “xxxxxxxxxxxxxxxxxxxx”
2 / Rclone Test 2
\ “yyyyyyyyyyyyyyyyyyyy”
3 / Rclone Test 3
\ “zzzzzzzzzzzzzzzzzzzz”
Enter a Team Drive ID> 1

Eg. In the above lists 3 team drives. Is it possible I can select all the team drives ?

Regards,
Abi

No, you have to configure rclone for a particular team drive at the moment.

You can make multiple remotes though, one for each team drive.

Hi Nick,

Can we use some script to configure all the team drives in an account via a single remote ?

Regards,
Abi

You can set an enviroment variable to change which team drive you are looking at...

assuming your remote is called myteamdrive:

You can set this to choose which team drive on the fly

export RCLONE_CONFIG_MYTEAMDRIVE_TEAM_DRIVE=xxxTEAMDRIVEIDxxx

If you look at the config file rclone config file will tell you where it is, you'll see it would be pretty easy to copy and paste the remotes.