"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
drive: fix description being overwritten on server side moves
Nick Craig-Wood5b8cdaff39de
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex 0e97d9553..1f0afcdc4 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -1747,10 +1747,9 @@ func (f *Fs) createDir(ctx context.Context, pathID, leaf string, metadata fs.Metleaf = f.opt.Enc.FromStandardName(leaf)pathID = actualID(pathID)createInfo := &drive.File{- Name: leaf,- Description: leaf,- MimeType: driveFolderType,- Parents: []string{pathID},+ Name: leaf,+ MimeType: driveFolderType,+ Parents: []string{pathID},}var updateMetadata updateMetadataFnif len(metadata) > 0 {@@ -2430,7 +2429,6 @@ func (f *Fs) createFileInfo(ctx context.Context, remote string, modTime time.Tim// Define the metadata for the file we are going to create.createInfo := &drive.File{Name: leaf,- Description: leaf,Parents: []string{directoryID},ModifiedTime: modTime.Format(timeFormatOut),}