"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Ignore return from patch request on failure.
Josiah White445fc55772be
diff --git a/drive/drive.go b/drive/drive.goindex f0339e241..8841920ca 100644--- a/drive/drive.go+++ b/drive/drive.go@@ -749,9 +749,9 @@ func (f *Fs) MergeDirs(dirs []fs.Directory) error {for _, info := range infos {fs.Infof(srcDir, "merging %q", info.Title)// Move the file into the destination+ info.Parents = []*drive.ParentReference{{Id: dstDir.ID()}}err = f.pacer.Call(func() (bool, error) {- info.Parents = []*drive.ParentReference{{Id: dstDir.ID()}}- info, err = f.svc.Files.Patch(info.Id, info).SetModifiedDate(true).Fields(googleapi.Field(partialFields)).SupportsTeamDrives(f.isTeamDrive).Do()+ _, err = f.svc.Files.Patch(info.Id, info).SetModifiedDate(true).Fields(googleapi.Field(partialFields)).SupportsTeamDrives(f.isTeamDrive).Do()return shouldRetry(err)})if err != nil {