"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: server side copy docs use default description if empty
Nick Craig-Wood9e4b68a364ab
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex fdad87af0..90a3fa89a 100755--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -2244,7 +2244,10 @@ func (f *Fs) Copy(ctx context.Context, src fs.Object, remote string) (fs.Object,if err != nil {return nil, errors.Wrap(err, "failed to read description for Google Doc")}- createInfo.Description = info.Description+ // set the description if there is one, or use the default if not+ if info.Description != "" {+ createInfo.Description = info.Description+ }} else {// don't overwrite the description on copy for files// this should work for docs but it doesn't - it is probably a bug in Google Drive