Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

drive: Don't attempt to choose Team Drives when using rclone config create

Nick Craig-Wood96977547076f
diff --git a/backend/drive/drive.go b/backend/drive/drive.go
index b1ff8cac1..feb414992 100644
--- a/backend/drive/drive.go
+++ b/backend/drive/drive.go
@@ -400,7 +400,7 @@ func configTeamDrive(name string) error {
} else {
fmt.Printf("Change current team drive ID %q?\n", teamDrive)
}
- if !config.Confirm() {
+ if !config.ConfirmWithDefault(false) {
return nil
}
client, err := createOAuthClient(name)