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: add a note that --drive-scope accepts comma-separated list of scopes

Keigo Imai4ac4597afb98
diff --git a/backend/drive/drive.go b/backend/drive/drive.go
index 9e1166bd8..1674f0d42 100644
--- a/backend/drive/drive.go
+++ b/backend/drive/drive.go
@@ -252,7 +252,7 @@ func init() {
},
Options: append(driveOAuthOptions(), []fs.Option{{
Name: "scope",
- Help: "Scope that rclone should use when requesting access from drive.",
+ Help: "Comma separated list of scopes that rclone should use when requesting access from drive.",
Examples: []fs.OptionExample{{
Value: "drive",
Help: "Full access all files, excluding Application Data Folder.",
diff --git a/docs/content/drive.md b/docs/content/drive.md
index 808968143..a4c6a2a4d 100644
--- a/docs/content/drive.md
+++ b/docs/content/drive.md
@@ -124,6 +124,8 @@ use. This changes what type of token is granted to rclone. [The
scopes are defined
here](https://developers.google.com/drive/v3/web/about-auth).
+A comma-separated list is allowed e.g. `drive.readonly,drive.file`.
+
The scope are
#### drive
@@ -582,7 +584,7 @@ Properties:
#### --drive-scope
-Scope that rclone should use when requesting access from drive.
+Comma separated list of scopes that rclone should use when requesting access from drive.
Properties: