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

b2: clarify exactly what --b2-download-auth-duration does in the docs

Nick Craig-Woodb206496f6318
diff --git a/backend/b2/b2.go b/backend/b2/b2.go
index 778d856f1..50413cc03 100644
--- a/backend/b2/b2.go
+++ b/backend/b2/b2.go
@@ -193,9 +193,12 @@ Example:
Advanced: true,
}, {
Name: "download_auth_duration",
- Help: `Time before the authorization token will expire in s or suffix ms|s|m|h|d.
+ Help: `Time before the public link authorization token will expire in s or suffix ms|s|m|h|d.
+
+This is used in combination with "rclone link" for making files
+accessible to the public and sets the duration before the download
+authorization token will expire.
-The duration before the download authorization token will expire.
The minimum value is 1 second. The maximum value is one week.`,
Default: fs.Duration(7 * 24 * time.Hour),
Advanced: true,