Duplicate folder created using copy command instead of syncing?

While copying files from Shared with me(not the Shared Drive) to Team Drive(Shared Drive) I used this command:

rclone copy -P --checksum --fast-list --transfers=10 -vv --drive-server-side-across-configs=true --drive-shared-with-me gdrive:sharedfolder teamdrive:fold1/fold2/fold3

This created a directory structure with sharedfolder in fold3 (teamdrive was empty before)
But when I ran the same command again, it created a duplicate subdirectory structure. So now there are two folders named fold1 in the Team Drive with same contents.

Using the same command (without the --drive-shared-with-me flag) for copying between drive/teamdrive works fine(it syncs)
Is this a rclone issue or am I messing something up?

Also I was wondering if there's a way to copy contents of a folder between google drives using folder ID's instead of typing folder path's for src & des?

rclone v1.51.0

  • os/arch: windows/amd64


for example, i have two folders, both named ishkabibble.
so i must use folder id to differentiate them.

rclone copy C:\path\to\local\folder\ gdrive:\

set RCLONE_DRIVE_ROOT_FOLDER_ID=1pH0fhYAtSOmD0gr-fJw2dmZtyv-xv
rclone copy C:\path\to\local\folder\ gdrive:\

If its a duplicate I think rclone dedupe will merge them btw.

I think this is a known issue https://github.com/rclone/rclone/issues/3132

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.