I have a problem to make a copy from a local folder to the root of a Drive.
I have to migrate all of my Mac user from Google Drive Sync to google Drive File Stream and I have a script to do that.
All of my local part of my script is ok, but the copy from local to drive doesn’t work.
I have a google service account to do it, and I want to do it in impersonate (automatic script for each computer)
This is the part of my script, it copy something but not in the account which is connect on DFS.
/Library/Preferences/rClone/rclone --drive-impersonate firstname.lastname@example.org --config=/Library/Preferences/rClone/Config.conf copy "/Users/"$USER"/Desktop/Backup/" Config: --log-file="/Systools/Logs/Test.log" --log-level=INFO --transfers=8
I don’t know where is copying and how can I copy on the right account.
Can you help me ?