"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: Allow the use of --drive-impersonate with the root_folder_id "appDataFolder"
Nick Craig-Wood61e4b4db429a
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex 2a55f6f18..b02145324 100755--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -1127,7 +1127,7 @@ func NewFs(name, path string, m configmap.Mapper) (fs.Fs, error) {// using impersonate which they shouldn't have done. It is possible// someone is using impersonate and root_folder_id in which case this// breaks their workflow. There isn't an easy way around that.- if opt.RootFolderID != "" && opt.Impersonate != "" {+ if opt.RootFolderID != "" && opt.RootFolderID != "appDataFolder" && opt.Impersonate != "" {fs.Logf(f, "Ignoring cached root_folder_id when using --drive-impersonate")opt.RootFolderID = ""}