"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 copyid command with a bare filename: can't use empty string as a path
Nick Craig-Woodf66928a84619
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex eab0c3bba..43e43a986 100755--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -3064,6 +3064,9 @@ func (f *Fs) copyID(ctx context.Context, id, dest string) (err error) {if destLeaf == "" {destLeaf = info.Name}+ if destDir == "" {+ destDir = "."+ }dstFs, err := cache.Get(ctx, destDir)if err != nil {return err