From 378614f9c19182f0f3aedb7695f8798871866895 Mon Sep 17 00:00:00 2001 From: lostb1t Date: Tue, 24 Sep 2024 09:51:54 +0200 Subject: [PATCH] wip --- backend/icloud/icloud.go | 3 +- docs/content/iclouddrive.md | 81 +++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 2 deletions(-) diff --git a/backend/icloud/icloud.go b/backend/icloud/icloud.go index 13aafe42b9439..dc6ec37cac40a 100644 --- a/backend/icloud/icloud.go +++ b/backend/icloud/icloud.go @@ -87,8 +87,7 @@ func init() { Required: false, Advanced: true, Default: "d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d", - }, - { + }, { Name: config.ConfigEncoding, Help: config.ConfigEncodingHelp, Advanced: true, diff --git a/docs/content/iclouddrive.md b/docs/content/iclouddrive.md index 28f7c0e4c5941..e4982cc4b68f8 100644 --- a/docs/content/iclouddrive.md +++ b/docs/content/iclouddrive.md @@ -73,3 +73,84 @@ y/e/d> y ## Advanced Data Protection ADP is currently unsupported and need to be disabled + +{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/iclouddrive/iclouddrive.go then run make backenddocs" >}} +### Standard options + +Here are the Standard options specific to iclouddrive (iCloud Drive). + +#### --iclouddrive-apple-id + +Apple ID. + +Properties: + +- Config: apple_id +- Env Var: RCLONE_ICLOUDDRIVE_APPLE_ID +- Type: string +- Required: true + +#### --iclouddrive-password + +Password. + +**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/). + +Properties: + +- Config: password +- Env Var: RCLONE_ICLOUDDRIVE_PASSWORD +- Type: string +- Required: true + +#### --iclouddrive-trust-token + +trust token (internal use) + +Properties: + +- Config: trust_token +- Env Var: RCLONE_ICLOUDDRIVE_TRUST_TOKEN +- Type: string +- Required: false + +#### --iclouddrive-cookies + +cookies (internal use only) + +Properties: + +- Config: cookies +- Env Var: RCLONE_ICLOUDDRIVE_COOKIES +- Type: string +- Required: false + +### Advanced options + +Here are the Advanced options specific to iclouddrive (iCloud Drive). + +#### --iclouddrive-encoding + +The encoding for the backend. + +See the [encoding section in the overview](/overview/#encoding) for more info. + +Properties: + +- Config: encoding +- Env Var: RCLONE_ICLOUDDRIVE_ENCODING +- Type: Encoding +- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot + +#### --iclouddrive-description + +Description of the remote. + +Properties: + +- Config: description +- Env Var: RCLONE_ICLOUDDRIVE_DESCRIPTION +- Type: string +- Required: false + +{{< rem autogenerated options stop >}}