What is the problem you are having with rclone?
gdrive: copy or sync creates duplicate folder from shared-with-me to team-drive
What is your rclone version (output from rclone version
)
rclone v1.54.0-beta.5062.db2c38b21
- os/arch: linux/amd64
- go version: go1.15.6
Which OS you are using and how many bits (eg Windows 7, 64 bit)
linux-64
Which cloud storage system are you using? (eg Google Drive)
Google drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone -vvv copy 'gdrive:anbox.txt' 'gdrive_share:temp/anbox' --drive-shared-with-me --log-file log2.txt
The rclone config contents with secrets removed.
[gdrive]
type = drive
scope = drive
token = {"access_token":"XXXXXXXXXX","expiry":"2021-01-14T21:29:18.462161317+06:00"}
client_id = XXXXXXXXXXX.apps.googleusercontent.com
client_secret = XXXXXXXXXX
[gdrive_share]
type = drive
scope = drive
token = {"access_token":"XXXXXXXXXXXX","expiry":"2021-01-14T21:33:00.299237229+06:00"}
team_drive = 0ALeIHKYAKFmtUk9PVA
root_folder_id =
client_id = XXXXXXXXXXX.apps.googleusercontent.com
client_secret = XXXXXXXXXXXXXX
A log from the command with the -vv
flag
log file: https://pastebin.com/RFityQki
before executing the command:
$rclone lsd gdrive_share:
-1 2020-10-21 15:36:26 -1 code
-1 2021-01-14 20:51:31 -1 XXX
-1 2021-01-14 20:42:05 -1 temp
-1 2021-01-09 13:14:53 -1 void
-1 2020-10-29 02:19:02 -1 XXXXX
-1 2020-12-30 22:03:31 -1 XXX
after:
$rclone lsd gdrive_share:
-1 2020-10-21 15:36:26 -1 code
-1 2021-01-14 20:51:31 -1 XXX
-1 2021-01-14 21:18:39 -1 temp
-1 2021-01-14 20:42:05 -1 temp
-1 2021-01-09 13:14:53 -1 void
-1 2020-10-29 02:19:02 -1 XXXXX
-1 2020-12-30 22:03:31 -1 XXX
I'm facing this for few days every time I do something from drive (shared-with-me) to the team drive.
sync command produces same problem.
Please forgive me if I mistaken anything as this is my first post.
UPDATE
temporary fix: making a shortcut, and skipping (--drive-shared-with-me) flag.