Hi,
We would like to run rclone via environment variables over windows for GDrive
Since we are calling rclone from cmdlet it gives following error.
2017/09/15 18:36:51 ERROR : Failed to save new token in config file: section ‘MYDRIVE’ not found
What is the true way to apply environmental variable for gdrive to work correctly with refresh tokens
Here is my code
set RCLONE_DRIVE_USE_TRASH=true
set RCLONE_CONFIG_MYDRIVE_TYPE=drive
set RCLONE_CONFIG_MYDRIVE_CLIENT_ID=
set RCLONE_CONFIG_MYDRIVE_CLIENT_SECRET=
set RCLONE_CONFIG_MYDRIVE_TOKEN=
{“access_token”:“x”,“token_type”:“Bearer”,“refresh_token”:“y”,“expiry”:“2017-09-15T12:24:11.5476246+03:00”}
rclone lsd MYDRIVE:
Thanks in advance.