diff --git a/MANUAL.html b/MANUAL.html index 23f7906bf..2346f0951 100644 --- a/MANUAL.html +++ b/MANUAL.html @@ -233,7 +233,7 @@

rclone(1) User Manual

Nick Craig-Wood

-

Sep 04, 2026

+

Oct 09, 2026

NAME

rclone - manage files on cloud storage

@@ -752,12 +752,6 @@ alt="Packaging status" />

The rclone developers maintain a docker image for rclone.

-

Note: We also now offer a paid version of rclone -with enterprise-grade security and zero CVEs through our partner SecureBuild. -If you are interested, check out their website and the Rclone SecureBuild -Image.

These images are built as part of the release process based on a minimal Alpine Linux.

The :latest tag will always point to the latest stable @@ -2259,6 +2253,10 @@ use --max-depth 1 to stop the recursion.

The other list commands lsd,lsf,lsjson do not recurse by default - use -R to make them recurse.

+

On the bucket-based remotes (e.g. s3, gcs, b2) a directory is a key +prefix rather than an object, so a listing without -R shows +each prefix as one directory entry and not the objects stored under +it.

List commands prefer a recursive method that uses more memory but fewer transactions by default. Use --disable ListR to suppress the behavior. See --max-depth 1 to stop the recursion.

The other list commands lsd,lsf,lsjson do not recurse by default - use -R to make them recurse.

+

On the bucket-based remotes (e.g. s3, gcs, b2) a directory is a key +prefix rather than an object, so a listing without -R shows +each prefix as one directory entry and not the objects stored under +it.

List commands prefer a recursive method that uses more memory but fewer transactions by default. Use --disable ListR to suppress the behavior. See --max-depth 1 to stop the recursion.

The other list commands lsd,lsf,lsjson do not recurse by default - use -R to make them recurse.

+

On the bucket-based remotes (e.g. s3, gcs, b2) a directory is a key +prefix rather than an object, so a listing without -R shows +each prefix as one directory entry and not the objects stored under +it.

List commands prefer a recursive method that uses more memory but fewer transactions by default. Use --disable ListR to suppress the behavior. See

rclone convmv "stories/The Quick Brown Fox!.txt" --name-transform "all,command=echo"
 // Output: stories/The Quick Brown Fox!.txt
rclone convmv "stories/The Quick Brown Fox!" --name-transform "date=-{YYYYMMDD}"
-// Output: stories/The Quick Brown Fox!-20260904
+// Output: stories/The Quick Brown Fox!-20261009
rclone convmv "stories/The Quick Brown Fox!" --name-transform "date=-{macfriendlytime}"
-// Output: stories/The Quick Brown Fox!-2026-09-04 0450PM
+// Output: stories/The Quick Brown Fox!-2026-10-09 1021AM
rclone convmv "stories/The Quick Brown Fox!.txt" --name-transform "all,regex=[\\.\\w]/ab"
 // Output: ababababababab/ababab ababababab ababababab ababab!abababab

The regex command generally accepts Perl-style regular expressions, @@ -5674,6 +5680,10 @@ use --max-depth 1 to stop the recursion.

The other list commands lsd,lsf,lsjson do not recurse by default - use -R to make them recurse.

+

On the bucket-based remotes (e.g. s3, gcs, b2) a directory is a key +prefix rather than an object, so a listing without -R shows +each prefix as one directory entry and not the objects stored under +it.

List commands prefer a recursive method that uses more memory but fewer transactions by default. Use --disable ListR to suppress the behavior. See --max-depth 1 to stop the recursion.

The other list commands lsd,lsf,lsjson do not recurse by default - use -R to make them recurse.

+

On the bucket-based remotes (e.g. s3, gcs, b2) a directory is a key +prefix rather than an object, so a listing without -R shows +each prefix as one directory entry and not the objects stored under +it.

List commands prefer a recursive method that uses more memory but fewer transactions by default. Use --disable ListR to suppress the behavior. See --vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -7914,8 +7928,8 @@ id="vfs-read-chunk-streams-0-3">--vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -8386,6 +8400,14 @@ bytes the server will accept in the HTTP header.

for all responses, will overriding existing values. The flag may be repeated to add multiple headers. Use the format Header-Name: value.

+

--rc-allow-origin enables cross-origin (CORS) requests +from browsers by setting the Access-Control-Allow-Origin +header on every response to the origin given, e.g. +--rc-allow-origin https://app.example.com. Browser CORS +preflight OPTIONS requests are answered by rclone without needing +authentication as browsers never send credentials with them. Setting +this to * allows any origin which is a security risk on an +authenticated server.

--rc-baseurl controls the URL prefix that rclone serves from. By default rclone will serve from the root. If you used --rc-baseurl "/rclone" then rclone would serve from a URL @@ -8594,6 +8616,13 @@ and BCrypt for basic authentication. Bcrypt is recommended.

htpasswd -B htpasswd user htpasswd -B htpasswd anotherUser

The password file can be updated while rclone is running.

+

When authentication is enabled every request must be authenticated, +including HTTP OPTIONS requests, as the answer to an OPTIONS request can +reveal whether a path exists. Health checks or monitoring which use +unauthenticated OPTIONS requests will need to send credentials. The +exception is browser CORS preflight requests when +--rc-allow-origin is set, which are answered without +authentication as browsers never send credentials with them.

Use --rc-realm to set the authentication realm.

Use --rc-salt to change the password hashing salt from the default.

@@ -9035,8 +9064,8 @@ id="vfs-read-chunk-streams-0-5">--vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -9600,8 +9629,8 @@ id="vfs-read-chunk-streams-0-7">--vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -10110,8 +10139,8 @@ id="vfs-read-chunk-streams-0-9">--vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -10514,6 +10543,14 @@ the server will accept in the HTTP header.

all responses, will overriding existing values. The flag may be repeated to add multiple headers. Use the format Header-Name: value.

+

--allow-origin enables cross-origin (CORS) requests from +browsers by setting the Access-Control-Allow-Origin header +on every response to the origin given, e.g. +--allow-origin https://app.example.com. Browser CORS +preflight OPTIONS requests are answered by rclone without needing +authentication as browsers never send credentials with them. Setting +this to * allows any origin which is a security risk on an +authenticated server.

--baseurl controls the URL prefix that rclone serves from. By default rclone will serve from the root. If you used --baseurl "/rclone" then rclone would serve from a URL @@ -10722,6 +10759,13 @@ BCrypt for basic authentication. Bcrypt is recommended.

htpasswd -B htpasswd user htpasswd -B htpasswd anotherUser

The password file can be updated while rclone is running.

+

When authentication is enabled every request must be authenticated, +including HTTP OPTIONS requests, as the answer to an OPTIONS request can +reveal whether a path exists. Health checks or monitoring which use +unauthenticated OPTIONS requests will need to send credentials. The +exception is browser CORS preflight requests when +--allow-origin is set, which are answered without +authentication as browsers never send credentials with them.

Use --realm to set the authentication realm.

Use --salt to change the password hashing salt from the default.

@@ -10937,8 +10981,8 @@ id="vfs-read-chunk-streams-0-11">--vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -11608,8 +11652,8 @@ id="vfs-read-chunk-streams-0-13">--vfs-read-chunk-streams

Rclone reads --vfs-read-chunk-streams chunks of size --vfs-read-chunk-size concurrently. The size for each read will stay constant.

-

This improves performance performance massively on high latency links -or very high bandwidth links to high performance object stores.

+

This improves performance massively on high latency links or very +high bandwidth links to high performance object stores.

Some experimentation will be needed to find the optimum values of --vfs-read-chunk-size and --vfs-read-chunk-streams as these will depend on the @@ -11956,6 +12000,14 @@ the server will accept in the HTTP header.

all responses, will overriding existing values. The flag may be repeated to add multiple headers. Use the format Header-Name: value.

+

--allow-origin enables cross-origin (CORS) requests from +browsers by setting the Access-Control-Allow-Origin header +on every response to the origin given, e.g. +--allow-origin https://app.example.com. Browser CORS +preflight OPTIONS requests are answered by rclone without needing +authentication as browsers never send credentials with them. Setting +this to * allows any origin which is a security risk on an +authenticated server.

--baseurl controls the URL prefix that rclone serves from. By default rclone will serve from the root. If you used --baseurl "/rclone" then rclone would serve from a URL @@ -12027,6 +12079,13 @@ BCrypt for basic authentication. Bcrypt is recommended.

htpasswd -B htpasswd user htpasswd -B htpasswd anotherUser

The password file can be updated while rclone is running.

+

When authentication is enabled every request must be authenticated, +including HTTP OPTIONS requests, as the answer to an OPTIONS request can +reveal whether a path exists. Health checks or monitoring which use +unauthenticated OPTIONS requests will need to send credentials. The +exception is browser CORS preflight requests when +--allow-origin is set, which are answered without +authentication as browsers never send credentials with them.

Use --realm to set the authentication realm.

Use --salt to change the password hashing salt from the default.

@@ -12085,7 +12144,17 @@ allow anonymous access.

secret for each access key ID and choose the backend it maps to (see
Auth Proxy below). When an auth proxy is in use --auth-key is ignored and every request must be signed with -the secret the proxy returns for its access key ID.

+the secret the proxy returns for its access key ID. Each access key ID +is a separate user, whose multipart uploads and object metadata are +private to it, even if the proxy maps several access key IDs to the same +backend.

+

As on AWS, every x-amz-* header in an authenticated +request must be in its signed headers list; a request with an unsigned +x-amz-* header is refused with AccessDenied. +S3 clients sign these headers as a matter of course, but a header added +after signing (for example by a proxy in front of the server, or +x-amz-meta-* headers sent with a presigned URL which only +signs the host) is refused.

Like all rclone flags --auth-key can be set via environment variables, in this case RCLONE_AUTH_KEY. Since this flag can be repeated, the input to RCLONE_AUTH_KEY is @@ -12109,7 +12178,9 @@ bucket name as a part of the hostname (such as mybucket.local)

Use --etag-hash if you want to change the hash uses for the ETag. Note that using anything other than MD5 (the default) is likely to cause problems for S3 -clients which rely on the Etag being the MD5.

+clients which rely on the Etag being the MD5. Use +--etag-hash auto to use the best hash the backend supports +- with --auth-proxy that of each user's backend.

Quickstart

For a simple set up, to serve remote:path over s3, run the server like this:

@@ -12163,17 +12234,18 @@ becomes visible under it.

With the default --vfs-cache-mode off serve s3 streams each multipart upload, in part-number order, into a single streaming upload to the underlying -remote, so the whole file is never buffered in memory. Memory use stays -bounded by the parts in flight. The remote then performs its own -internal upload (for example its own multipart upload, still with -bounded memory). Remotes that don't support streaming uploads (those -that must know the file size before the upload starts, such as -onedrive, pcloud, jottacloud, -mailru, opendrive, putio, -protondrive and zoho) have the parts spooled -to a temporary file on local disk instead, and uploaded -with the size then known on completion, so they need local disk space -for the largest objects in flight rather than memory.

+remote, so the whole file is never buffered in memory: only parts which +arrive out of order are buffered, within the limits described below. The +remote then performs its own internal upload (for example its own +multipart upload, still with bounded memory). Remotes that don't support +streaming uploads (those that must know the file size before the upload +starts, such as onedrive, pcloud, +jottacloud, mailru, opendrive, +putio, protondrive and zoho) have +the parts spooled to a temporary file on local disk +instead, and uploaded with the size then known on completion, so they +need local disk space for the largest objects in flight rather than +memory.

With --vfs-cache-mode writes (or full) the parts are written to a temporary file in the VFS cache and uploaded by the VFS write-back - see

Features

  • TestPcloud (pcloud)
  • -
  • Updated: 2026-09-04-010006 +
  • Updated: 2026-10-08-010019
  • The following backends either have not been tested recently or have @@ -26477,7 +26694,7 @@ users of --create-empty-src-dirs)

    (with the same options as in sync)

  • Equality checks before a sync conflict rename now fall back to cryptcheck (when possible) or --download, -instead of of --size-only, when check is not +instead of --size-only, when check is not available.

  • Bisync no longer fails to find the correct listing file when configs are overridden with backend-specific flags.

  • @@ -26646,14 +26863,13 @@ desired.

    Verify the hashes

    Now that we know the signatures on the hashes are OK we can verify the binaries match the hashes, completing the verification.

    -
    $ sha256sum -c SHA256SUMS 2>&1 | grep OK
    +

    Extract the signed data with:

    +
    $ gpg --output SHA256SUMS.signed --decrypt SHA256SUMS
    +

    Then check the binaries:

    +
    $ sha256sum -c --ignore-missing SHA256SUMS.signed
     rclone-v1.63.1-windows-amd64.zip: OK

    Or do the check with rclone

    -
    $ rclone hashsum sha256 -C SHA256SUMS rclone-v1.63.1-windows-amd64.zip 
    -2023/09/11 10:53:58 NOTICE: SHA256SUMS: improperly formatted checksum line 0
    -2023/09/11 10:53:58 NOTICE: SHA256SUMS: improperly formatted checksum line 1
    -2023/09/11 10:53:58 NOTICE: SHA256SUMS: improperly formatted checksum line 49
    -2023/09/11 10:53:58 NOTICE: SHA256SUMS: 4 warning(s) suppressed...
    +
    $ rclone hashsum sha256 -C SHA256SUMS.signed rclone-v1.63.1-windows-amd64.zip
     = rclone-v1.63.1-windows-amd64.zip
     2023/09/11 10:53:58 NOTICE: Local file system at /tmp/check: 0 differences found
     2023/09/11 10:53:58 NOTICE: Local file system at /tmp/check: 1 matching files
    @@ -27759,24 +27975,24 @@ An external ID is provided for additional security as required by the role's trust policy

    The target role's trust policy in the destination account must allow the source account or user to assume it. Example trust policy:

    -
    {
    -  "Version": "2012-10-17",
    -  "Statement": [
    -    {
    -      "Effect": "Allow",
    -      "Principal": {
    -        "AWS": "arn:aws:iam::SOURCE-ACCOUNT-ID:root"
    -      },
    -      "Action": "sts:AssumeRole",
    -      "Condition": {
    -        "StringEquals": {
    -          "sts:ExternalID": "unique-role-external-id-12345"
    -        }
    -      }
    -    }
    -  ]
    -}
    +
    {
    +  "Version": "2012-10-17",
    +  "Statement": [
    +    {
    +      "Effect": "Allow",
    +      "Principal": {
    +        "AWS": "arn:aws:iam::SOURCE-ACCOUNT-ID:root"
    +      },
    +      "Action": "sts:AssumeRole",
    +      "Condition": {
    +        "StringEquals": {
    +          "sts:ExternalID": "unique-role-external-id-12345"
    +        }
    +      }
    +    }
    +  ]
    +}

    S3 Permissions

    When using the sync subcommand of rclone the following minimum permissions are required to be available on the @@ -27793,34 +28009,34 @@ href="#s3-no-check-bucket">s3-no-check-bucket)

    When using the lsd subcommand, the ListAllMyBuckets permission is required.

    Example policy:

    -
    {
    -  "Version": "2012-10-17",
    -  "Statement": [
    -    {
    -      "Effect": "Allow",
    -      "Principal": {
    -        "AWS": "arn:aws:iam::USER_SID:user/USER_NAME"
    -      },
    -      "Action": [
    -        "s3:ListBucket",
    -        "s3:DeleteObject",
    -        "s3:GetObject",
    -        "s3:PutObject",
    -        "s3:PutObjectAcl"
    -      ],
    -      "Resource": [
    -        "arn:aws:s3:::BUCKET_NAME/*",
    -        "arn:aws:s3:::BUCKET_NAME"
    -      ]
    -    },
    -    {
    -      "Effect": "Allow",
    -      "Action": "s3:ListAllMyBuckets",
    -      "Resource": "arn:aws:s3:::*"
    -    }
    -  ]
    -}
    +
    {
    +  "Version": "2012-10-17",
    +  "Statement": [
    +    {
    +      "Effect": "Allow",
    +      "Principal": {
    +        "AWS": "arn:aws:iam::USER_SID:user/USER_NAME"
    +      },
    +      "Action": [
    +        "s3:ListBucket",
    +        "s3:DeleteObject",
    +        "s3:GetObject",
    +        "s3:PutObject",
    +        "s3:PutObjectAcl"
    +      ],
    +      "Resource": [
    +        "arn:aws:s3:::BUCKET_NAME/*",
    +        "arn:aws:s3:::BUCKET_NAME"
    +      ]
    +    },
    +    {
    +      "Effect": "Allow",
    +      "Action": "s3:ListAllMyBuckets",
    +      "Resource": "arn:aws:s3:::*"
    +    }
    +  ]
    +}

    Notes on above:

    1. This is a policy that can be used when creating bucket. It assumes @@ -32913,17 +33129,17 @@ rclone backend restore s3:bucket/path/to/directory -o priority=PRIORITYIt returns a list of status dictionaries with Remote and Status keys. The Status will be OK if it was successful or an error message if not.

      -
      [
      -    {
      -        "Status": "OK",
      -        "Remote": "test.txt"
      -    },
      -    {
      -        "Status": "OK",
      -        "Remote": "test/file4.txt"
      -    }
      -]
      +
      [
      +    {
      +        "Status": "OK",
      +        "Remote": "test.txt"
      +    },
      +    {
      +        "Status": "OK",
      +        "Remote": "test/file4.txt"
      +    }
      +]

      Options:

      • "description": The optional description for the job.
      • @@ -32945,36 +33161,36 @@ rclone backend restore-status s3:bucket/path/to/directory rclone backend restore-status -o all s3:bucket/path/to/directory

    This command does not obey the filters.

    It returns a list of status dictionaries:

    -
    [
    -    {
    -        "Remote": "file.txt",
    -        "VersionID": null,
    -        "RestoreStatus": {
    -            "IsRestoreInProgress": true,
    -            "RestoreExpiryDate": "2023-09-06T12:29:19+01:00"
    -        },
    -        "StorageClass": "GLACIER"
    -    },
    -    {
    -        "Remote": "test.pdf",
    -        "VersionID": null,
    -        "RestoreStatus": {
    -            "IsRestoreInProgress": false,
    -            "RestoreExpiryDate": "2023-09-06T12:29:19+01:00"
    -        },
    -        "StorageClass": "DEEP_ARCHIVE"
    -    },
    -    {
    -        "Remote": "test.gz",
    -        "VersionID": null,
    -        "RestoreStatus": {
    -            "IsRestoreInProgress": true,
    -            "RestoreExpiryDate": "null"
    -        },
    -        "StorageClass": "INTELLIGENT_TIERING"
    -    }
    -]
    +
    [
    +    {
    +        "Remote": "file.txt",
    +        "VersionID": null,
    +        "RestoreStatus": {
    +            "IsRestoreInProgress": true,
    +            "RestoreExpiryDate": "2023-09-06T12:29:19+01:00"
    +        },
    +        "StorageClass": "GLACIER"
    +    },
    +    {
    +        "Remote": "test.pdf",
    +        "VersionID": null,
    +        "RestoreStatus": {
    +            "IsRestoreInProgress": false,
    +            "RestoreExpiryDate": "2023-09-06T12:29:19+01:00"
    +        },
    +        "StorageClass": "DEEP_ARCHIVE"
    +    },
    +    {
    +        "Remote": "test.gz",
    +        "VersionID": null,
    +        "RestoreStatus": {
    +            "IsRestoreInProgress": true,
    +            "RestoreExpiryDate": "null"
    +        },
    +        "StorageClass": "INTELLIGENT_TIERING"
    +    }
    +]

    Options:

    This will leave the config file looking like this.

    -
    [ArvanCloud]
    -type = s3
    -provider = ArvanCloud
    -env_auth = false
    -access_key_id = YOURACCESSKEY
    -secret_access_key = YOURSECRETACCESSKEY
    -region =
    -endpoint = s3.arvanstorage.com
    -location_constraint =
    -acl =
    -server_side_encryption =
    -storage_class =
    +
    [ArvanCloud]
    +type = s3
    +provider = ArvanCloud
    +env_auth = false
    +access_key_id = YOURACCESSKEY
    +secret_access_key = YOURSECRETACCESSKEY
    +region =
    +endpoint = s3.arvanstorage.com
    +location_constraint =
    +acl =
    +server_side_encryption =
    +storage_class =

    BizflyCloud

    Bizfly Cloud Simple Storage is an S3-compatible service with regions in Hanoi (HN) and @@ -33331,19 +33547,19 @@ Ho Chi Minh City (HCM).

  • HCM: hcm.ss.bfcplatform.vn
  • A minimal configuration looks like this.

    -
    [bizfly]
    -type = s3
    -provider = BizflyCloud
    -env_auth = false
    -access_key_id = YOUR_ACCESS_KEY
    -secret_access_key = YOUR_SECRET_KEY
    -region = HN
    -endpoint = hn.ss.bfcplatform.vn
    -location_constraint =
    -acl =
    -server_side_encryption =
    -storage_class =
    +
    [bizfly]
    +type = s3
    +provider = BizflyCloud
    +env_auth = false
    +access_key_id = YOUR_ACCESS_KEY
    +secret_access_key = YOUR_SECRET_KEY
    +region = HN
    +endpoint = hn.ss.bfcplatform.vn
    +location_constraint =
    +acl =
    +server_side_encryption =
    +storage_class =

    Switch region and endpoint to HCM and hcm.ss.bfcplatform.vn for Ho Chi Minh City.

    @@ -33355,24 +33571,30 @@ interface.

    To use rclone with Ceph, configure as above but leave the region blank and set the endpoint. You should end up with something like this in your config:

    -
    [ceph]
    -type = s3
    -provider = Ceph
    -env_auth = false
    -access_key_id = XXX
    -secret_access_key = YYY
    -region =
    -endpoint = https://ceph.endpoint.example.com
    -location_constraint =
    -acl =
    -server_side_encryption =
    -storage_class =
    +
    [ceph]
    +type = s3
    +provider = Ceph
    +env_auth = false
    +access_key_id = XXX
    +secret_access_key = YYY
    +region =
    +endpoint = https://ceph.endpoint.example.com
    +location_constraint =
    +acl =
    +server_side_encryption =
    +storage_class =

    If you are using an older version of CEPH (e.g. 10.2.x Jewel) and a version of rclone before v1.59 then you may need to supply the parameter --s3-upload-cutoff 0 or put this in the config file as upload_cutoff 0 to work around a bug which causes uploading of small files to fail.

    +

    Rclone defaults sign_accept_encoding to false for the +Ceph provider. That avoids SignatureDoesNotMatch errors +when a reverse proxy (for example Cloudflare) rewrites the +Accept-Encoding request header. You can override this with +--s3-sign-accept-encoding / +sign_accept_encoding if needed.

    Note also that Ceph sometimes puts / in the passwords it gives users. If you read the secret access key using the command line tools you will get a JSON blob with the / escaped as @@ -33380,18 +33602,18 @@ tools you will get a JSON blob with the / escaped as access key.

    Eg the dump from Ceph looks something like this (irrelevant keys removed).

    -
    {
    -    "user_id": "xxx",
    -    "display_name": "xxxx",
    -    "keys": [
    -        {
    -            "user": "xxx",
    -            "access_key": "xxxxxx",
    -            "secret_key": "xxxxxx\/xxxx"
    -        }
    -    ],
    -}
    +
    {
    +    "user_id": "xxx",
    +    "display_name": "xxxx",
    +    "keys": [
    +        {
    +            "user": "xxx",
    +            "access_key": "xxxxxx",
    +            "secret_key": "xxxxxx\/xxxx"
    +        }
    +    ],
    +}

    Because this is a json dump, it is encoding the / as \/, so if you use the secret key as xxxxxx/xxxx it will work fine.

    @@ -33718,15 +33940,15 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave your config looking something like:

    -
    [r2]
    -type = s3
    -provider = Cloudflare
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_ACCESS_KEY
    -region = auto
    -endpoint = https://ACCOUNT_ID.r2.cloudflarestorage.com
    -acl = private
    +
    [r2]
    +type = s3
    +provider = Cloudflare
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_ACCESS_KEY
    +region = auto
    +endpoint = https://ACCOUNT_ID.r2.cloudflarestorage.com
    +acl = private

    Now run rclone lsf r2: to see your buckets and rclone lsf r2:bucket to look within a bucket.

    For R2 tokens with the "Object Read & Write" permission, you may @@ -33764,14 +33986,14 @@ region> eu-west-1 (or leave empty) endpoint> s3.cubbit.eu (or s3.{tenant_name}.cubbit.eu) acl>

    The resulting configuration file should look like:

    -
    [cubbit-ds3]
    -type = s3
    -provider = Cubbit
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_KEY
    -region = eu-west-1
    -endpoint = s3.cubbit.eu
    +
    [cubbit-ds3]
    +type = s3
    +provider = Cubbit
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_KEY
    +region = eu-west-1
    +endpoint = s3.cubbit.eu

    You can then start using Cubbit DS3 with rclone. For example, to create a new bucket and copy files into it, you can run:

    rclone mkdir cubbit-ds3:my-bucket
    @@ -33806,19 +34028,19 @@ location_constraint>
     acl>
     storage_class>

    The resulting configuration file should look like:

    -
    [spaces]
    -type = s3
    -provider = DigitalOcean
    -env_auth = false
    -access_key_id = YOUR_ACCESS_KEY
    -secret_access_key = YOUR_SECRET_KEY
    -region =
    -endpoint = nyc3.digitaloceanspaces.com
    -location_constraint =
    -acl =
    -server_side_encryption =
    -storage_class =
    +
    [spaces]
    +type = s3
    +provider = DigitalOcean
    +env_auth = false
    +access_key_id = YOUR_ACCESS_KEY
    +secret_access_key = YOUR_SECRET_KEY
    +region =
    +endpoint = nyc3.digitaloceanspaces.com
    +location_constraint =
    +acl =
    +server_side_encryption =
    +storage_class =

    Once configured, you can create a new Space and begin copying files. For example:

    rclone mkdir spaces:my-new-space
    @@ -33830,19 +34052,19 @@ object storage system based on CEPH.

    To use rclone with Dreamhost, configure as above but leave the region blank and set the endpoint. You should end up with something like this in your config:

    -
    [dreamobjects]
    -type = s3
    -provider = DreamHost
    -env_auth = false
    -access_key_id = your_access_key
    -secret_access_key = your_secret_key
    -region =
    -endpoint = objects-us-west-1.dream.io
    -location_constraint =
    -acl = private
    -server_side_encryption =
    -storage_class =
    +
    [dreamobjects]
    +type = s3
    +provider = DreamHost
    +env_auth = false
    +access_key_id = your_access_key
    +secret_access_key = your_secret_key
    +region =
    +endpoint = objects-us-west-1.dream.io
    +location_constraint =
    +acl = private
    +server_side_encryption =
    +storage_class =

    Exaba

    Exaba is an on-premises, S3-compatible storage for service providers and large enterprises. It is @@ -33903,13 +34125,13 @@ y) Yes n) No (default) y/n> n

    And the config generated will end up looking like this:

    -
    [exaba]
    -type = s3
    -provider = Exaba
    -access_key_id = XXX
    -secret_access_key = XXX
    -endpoint = http://127.0.0.1:9000/
    +
    [exaba]
    +type = s3
    +provider = Exaba
    +access_key_id = XXX
    +secret_access_key = XXX
    +endpoint = http://127.0.0.1:9000/

    Fastly Object Storage

    Fastly Object Storage is an S3-compatible object storage service from Fastly. It @@ -33975,14 +34197,14 @@ e) Edit this remote d) Delete this remote y/e/d> y

    The resulting configuration file should look like:

    -
    [fastly]
    -type = s3
    -provider = Fastly
    -access_key_id = YOUR_ACCESS_KEY
    -secret_access_key = YOUR_SECRET_KEY
    -region = us-east
    -endpoint = us-east.object.fastlystorage.app
    +
    [fastly]
    +type = s3
    +provider = Fastly
    +access_key_id = YOUR_ACCESS_KEY
    +secret_access_key = YOUR_SECRET_KEY
    +region = us-east
    +endpoint = us-east.object.fastlystorage.app

    Google Cloud Storage

    GoogleCloudStorage is @@ -33993,13 +34215,13 @@ object storage service from Google Cloud Platform.

    secret key. These can be retrieved by creating an HMAC key.

    -
    [gs]
    -type = s3
    -provider = GCS
    -access_key_id = your_access_key
    -secret_access_key = your_secret_key
    -endpoint = https://storage.googleapis.com
    +
    [gs]
    +type = s3
    +provider = GCS
    +access_key_id = your_access_key
    +secret_access_key = your_secret_key
    +endpoint = https://storage.googleapis.com

    Note that --s3-versions does not work with GCS when it needs to do directory paging. Rclone will return the error:

    @@ -34131,15 +34353,15 @@ s) Set configuration password q) Quit config e/n/d/r/c/s/q>

    This will leave the config file looking like this.

    -
    [my-hetzner]
    -type = s3
    -provider = Hetzner
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_KEY
    -region = hel1
    -endpoint = hel1.your-objectstorage.com
    -acl = private
    +
    [my-hetzner]
    +type = s3
    +provider = Hetzner
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_KEY
    +region = hel1
    +endpoint = hel1.your-objectstorage.com
    +acl = private

    Hitachi Content Platform (HCP)

    Here is an example of making a Hitachi @@ -34226,13 +34448,13 @@ s) Set configuration password q) Quit config e/n/d/r/c/s/q>

    This will leave the config file looking like this.

    -
    [my-hcp]
    -type = s3
    -provider = HCP
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_KEY
    -endpoint = https://hcp.example.com
    +
    [my-hcp]
    +type = s3
    +provider = HCP
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_KEY
    +endpoint = https://hcp.example.com

    Known limitations

    These limitations have been observed with HCP version 9.7.x.

    Automatic directory objects

    @@ -34260,15 +34482,15 @@ easy-to-use cloud storage that lets you store virtually any volume of unstructured data in any format and access it from anywhere.

    OBS provides an S3 interface, you can copy and modify the following configuration and add it to your rclone configuration file.

    -
    [obs]
    -type = s3
    -provider = HuaweiOBS
    -access_key_id = your-access-key-id
    -secret_access_key = your-secret-access-key
    -region = af-south-1
    -endpoint = obs.af-south-1.myhuaweicloud.com
    -acl = private
    +
    [obs]
    +type = s3
    +provider = HuaweiOBS
    +access_key_id = your-access-key-id
    +secret_access_key = your-secret-access-key
    +region = af-south-1
    +endpoint = obs.af-south-1.myhuaweicloud.com
    +acl = private

    Or you can also configure via the interactive command line:

    No remotes found, make a new one\?
     n) New remote
    @@ -34497,15 +34719,15 @@ Choose a number from below, or type in your own value
     acl> 1
  • Review the displayed configuration and accept to save the "remote" then quit. The config file should look like this

    -
    [xxx]
    -type = s3
    -Provider = IBMCOS
    -access_key_id = xxx
    -secret_access_key = yyy
    -endpoint = s3-api.us-geo.objectstorage.softlayer.net
    -location_constraint = us-standard
    -acl = private
  • +
    [xxx]
    +type = s3
    +Provider = IBMCOS
    +access_key_id = xxx
    +secret_access_key = yyy
    +endpoint = s3-api.us-geo.objectstorage.softlayer.net
    +location_constraint = us-standard
    +acl = private
  • Execute rclone commands

  • 1) Create a bucket.
    @@ -34806,15 +35028,15 @@ s) Set configuration password
     q) Quit config
     e/n/d/r/c/s/q> 

    This will leave the config file looking like this.

    -
    [my-impossible-cloud]
    -type = s3
    -provider = ImpossibleCloud
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_KEY
    -region = eu-central-2
    -endpoint = eu-central-2.storage.impossibleapi.net
    -acl = private
    +
    [my-impossible-cloud]
    +type = s3
    +provider = ImpossibleCloud
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_KEY
    +region = eu-central-2
    +endpoint = eu-central-2.storage.impossibleapi.net
    +acl = private

    Intercolo Object Storage

    Intercolo Object Storage offers GDPR-compliant, transparently priced, S3-compatible @@ -34925,14 +35147,14 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [intercolo]
    -type = s3
    -provider = Intercolo
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_KEY
    -region = de-fra
    -endpoint = de-fra.i3storage.com
    +
    [intercolo]
    +type = s3
    +provider = Intercolo
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_KEY
    +region = de-fra
    +endpoint = de-fra.i3storage.com

    IONOS Cloud

    IONOS S3 Object Storage is a service offered by IONOS for storing and @@ -35240,19 +35462,19 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [Liara]
    -type = s3
    -provider = Liara
    -env_auth = false
    -access_key_id = YOURACCESSKEY
    -secret_access_key = YOURSECRETACCESSKEY
    -region =
    -endpoint = storage.iran.liara.space
    -location_constraint =
    -acl =
    -server_side_encryption =
    -storage_class =
    +
    [Liara]
    +type = s3
    +provider = Liara
    +env_auth = false
    +access_key_id = YOURACCESSKEY
    +secret_access_key = YOURSECRETACCESSKEY
    +region =
    +endpoint = storage.iran.liara.space
    +location_constraint =
    +acl =
    +server_side_encryption =
    +storage_class =

    Linode

    Here is an example of making a Linode Object @@ -35392,13 +35614,17 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [linode]
    -type = s3
    -provider = Linode
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_ACCESS_KEY
    -endpoint = eu-central-1.linodeobjects.com
    +
    [linode]
    +type = s3
    +provider = Linode
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_ACCESS_KEY
    +endpoint = eu-central-1.linodeobjects.com
    +

    Linode Object Storage is Ceph-backed. Rclone defaults +sign_accept_encoding to false for this provider so SigV4 +requests do not fail with SignatureDoesNotMatch (see the Ceph section).

    Magalu

    Here is an example of making a Magalu Object Storage @@ -35500,13 +35726,13 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [magalu]
    -type = s3
    -provider = Magalu
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_ACCESS_KEY
    -endpoint = br-ne1.magaluobjects.com
    +
    [magalu]
    +type = s3
    +provider = Magalu
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_ACCESS_KEY
    +endpoint = br-ne1.magaluobjects.com

    MEGA S4

    MEGA S4 Object Storage is an S3 compatible object storage system. It has a single pricing tier @@ -35599,13 +35825,13 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [megas4]
    -type = s3
    -provider = Mega
    -access_key_id = XXX
    -secret_access_key = XXX
    -endpoint = s3.eu-central-1.s4.mega.io
    +
    [megas4]
    +type = s3
    +provider = Mega
    +access_key_id = XXX
    +secret_access_key = XXX
    +endpoint = s3.eu-central-1.s4.mega.io

    Minio

    Minio is an object storage server built for cloud application developers and devops.

    @@ -35644,17 +35870,17 @@ endpoint> http://192.168.1.106:9000 location_constraint> server_side_encryption>

    Which makes the config file look like this

    -
    [minio]
    -type = s3
    -provider = Minio
    -env_auth = false
    -access_key_id = USWUXHGYZQYFYFFIT3RE
    -secret_access_key = MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03
    -region = us-east-1
    -endpoint = http://192.168.1.106:9000
    -location_constraint =
    -server_side_encryption =
    +
    [minio]
    +type = s3
    +provider = Minio
    +env_auth = false
    +access_key_id = USWUXHGYZQYFYFFIT3RE
    +secret_access_key = MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03
    +region = us-east-1
    +endpoint = http://192.168.1.106:9000
    +location_constraint =
    +server_side_encryption =

    So once set up, for example, to copy files into a bucket

    rclone copy /path/to/files minio:bucket

    Netease NOS

    @@ -35672,16 +35898,16 @@ href="https://docs.outscale.com/en/userguide/OUTSCALE-Object-Storage-OOS.html">o documentation.

    Here is an example of an OOS configuration that you can paste into your rclone configuration file:

    -
    [outscale]
    -type = s3
    -provider = Outscale
    -env_auth = false
    -access_key_id = ABCDEFGHIJ0123456789
    -secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    -region = eu-west-2
    -endpoint = oos.eu-west-2.outscale.com
    -acl = private
    +
    [outscale]
    +type = s3
    +provider = Outscale
    +env_auth = false
    +access_key_id = ABCDEFGHIJ0123456789
    +secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    +region = eu-west-2
    +endpoint = oos.eu-west-2.outscale.com
    +acl = private

    You can also run rclone config to go through the interactive setup process:

    No remotes found, make a new one\?
    @@ -35975,15 +36201,15 @@ e) Edit this remote
     d) Delete this remote
     y/e/d> y

    Your configuration file should now look like this:

    -
    [ovhcloud-rbx]
    -type = s3
    -provider = OVHcloud
    -access_key_id = my_access
    -secret_access_key = my_secret
    -region = rbx
    -endpoint = s3.rbx.io.cloud.ovh.net
    -acl = private
    +
    [ovhcloud-rbx]
    +type = s3
    +provider = OVHcloud
    +access_key_id = my_access
    +secret_access_key = my_secret
    +region = rbx
    +endpoint = s3.rbx.io.cloud.ovh.net
    +acl = private

    Petabox

    Here is an example of making a Petabox configuration. First run:

    @@ -36124,14 +36350,14 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [My Petabox Storage]
    -type = s3
    -provider = Petabox
    -access_key_id = YOUR_ACCESS_KEY_ID
    -secret_access_key = YOUR_SECRET_ACCESS_KEY
    -region = us-east-1
    -endpoint = s3.petabox.io
    +
    [My Petabox Storage]
    +type = s3
    +provider = Petabox
    +access_key_id = YOUR_ACCESS_KEY_ID
    +secret_access_key = YOUR_SECRET_ACCESS_KEY
    +region = us-east-1
    +endpoint = s3.petabox.io

    Pure Storage FlashBlade

    Pure @@ -36226,13 +36452,13 @@ d) Delete this remote y/e/d> y

    This results in the following configuration being stored in ~/.config/rclone/rclone.conf:

    -
    [flashblade]
    -type = s3
    -provider = FlashBlade
    -access_key_id = ACCESS_KEY_ID
    -secret_access_key = SECRET_ACCESS_KEY
    -endpoint = https://s3.flashblade.example.com
    +
    [flashblade]
    +type = s3
    +provider = FlashBlade
    +access_key_id = ACCESS_KEY_ID
    +secret_access_key = SECRET_ACCESS_KEY
    +endpoint = https://s3.flashblade.example.com

    Note: The FlashBlade endpoint should be the S3 data VIP. For virtual-hosted style requests, ensure proper DNS configuration: subdomains of the endpoint hostname should resolve to a FlashBlade data @@ -36509,13 +36735,13 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [s5lu]
    -type = s3
    -provider = FileLu
    -access_key_id = XXX
    -secret_access_key = XXX
    -endpoint = s5lu.com
    +
    [s5lu]
    +type = s3
    +provider = FileLu
    +access_key_id = XXX
    +secret_access_key = XXX
    +endpoint = s5lu.com

    Rabata

    Rabata is an S3-compatible secure cloud storage service that offers flat, transparent pricing (no API @@ -36652,16 +36878,16 @@ details are required for the next steps of configuration, when rclone config asks for your access_key_id and secret_access_key.

    Your config should end up looking a bit like this:

    -
    [RCS3-demo-config]
    -type = s3
    -provider = RackCorp
    -env_auth = true
    -access_key_id = YOURACCESSKEY
    -secret_access_key = YOURSECRETACCESSKEY
    -region = au-nsw
    -endpoint = s3.rackcorp.com
    -location_constraint = au-nsw
    +
    [RCS3-demo-config]
    +type = s3
    +provider = RackCorp
    +env_auth = true
    +access_key_id = YOURACCESSKEY
    +secret_access_key = YOURSECRETACCESSKEY
    +region = au-nsw
    +endpoint = s3.rackcorp.com
    +location_constraint = au-nsw

    Rclone Serve S3

    Rclone can serve any remote over the S3 protocol. For details see the rclone serve @@ -36671,14 +36897,14 @@ server like this:

    rclone serve s3 --auth-key ACCESS_KEY_ID,SECRET_ACCESS_KEY remote:path

    This will be compatible with an rclone remote which is defined like this:

    -
    [serves3]
    -type = s3
    -provider = Rclone
    -endpoint = http://127.0.0.1:8080/
    -access_key_id = ACCESS_KEY_ID
    -secret_access_key = SECRET_ACCESS_KEY
    -use_multipart_uploads = false
    +
    [serves3]
    +type = s3
    +provider = Rclone
    +endpoint = http://127.0.0.1:8080/
    +access_key_id = ACCESS_KEY_ID
    +secret_access_key = SECRET_ACCESS_KEY
    +use_multipart_uploads = false

    Note that setting use_multipart_uploads = false is to work around a bug which @@ -36691,20 +36917,20 @@ Scaleway console or transferred through our API and CLI or using any S3-compatible tool.

    Scaleway provides an S3 interface which can be configured for use with rclone like this:

    -
    [scaleway]
    -type = s3
    -provider = Scaleway
    -env_auth = false
    -endpoint = s3.nl-ams.scw.cloud
    -access_key_id = SCWXXXXXXXXXXXXXX
    -secret_access_key = 1111111-2222-3333-44444-55555555555555
    -region = nl-ams
    -location_constraint = nl-ams
    -acl = private
    -upload_cutoff = 5M
    -chunk_size = 5M
    -copy_cutoff = 5M
    +
    [scaleway]
    +type = s3
    +provider = Scaleway
    +env_auth = false
    +endpoint = s3.nl-ams.scw.cloud
    +access_key_id = SCWXXXXXXXXXXXXXX
    +secret_access_key = 1111111-2222-3333-44444-55555555555555
    +region = nl-ams
    +location_constraint = nl-ams
    +acl = private
    +upload_cutoff = 5M
    +chunk_size = 5M
    +copy_cutoff = 5M

    Scaleway Glacier is the low-cost S3 Glacier alternative from Scaleway and it works the same way as on S3 by accepting the "GLACIER" @@ -36819,13 +37045,13 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [scality]
    -type = s3
    -provider = Scality
    -access_key_id = S3_ACCESS_KEY
    -secret_access_key = S3_SECRET_KEY
    -endpoint = https://s3.example.com
    +
    [scality]
    +type = s3
    +provider = Scality
    +access_key_id = S3_ACCESS_KEY
    +secret_access_key = S3_SECRET_KEY
    +endpoint = https://s3.example.com

    Seagate Lyve Cloud

    Seagate @@ -36918,13 +37144,13 @@ Press Enter to leave empty. [snip] acl>

    And the config file should end up looking like this:

    -
    [remote]
    -type = s3
    -provider = LyveCloud
    -access_key_id = XXX
    -secret_access_key = YYY
    -endpoint = s3.us-east-1.lyvecloud.seagate.com
    +
    [remote]
    +type = s3
    +provider = LyveCloud
    +access_key_id = XXX
    +secret_access_key = YYY
    +endpoint = s3.us-east-1.lyvecloud.seagate.com

    SeaweedFS

    SeaweedFS is a distributed storage system for blobs, objects, files, and data lake, @@ -36960,13 +37186,13 @@ such:

    }

    To use rclone with SeaweedFS, above configuration should end up with something like this in your config:

    -
    [seaweedfs_s3]
    -type = s3
    -provider = SeaweedFS
    -access_key_id = any
    -secret_access_key = any
    -endpoint = localhost:8333
    +
    [seaweedfs_s3]
    +type = s3
    +provider = SeaweedFS
    +access_key_id = any
    +secret_access_key = any
    +endpoint = localhost:8333

    So once set up, for example to copy files into a bucket

    rclone copy /path/to/files seaweedfs_s3:foo

    Selectel

    @@ -37069,14 +37295,14 @@ e) Edit this remote d) Delete this remote y/e/d> y

    And your config should end up looking like this:

    -
    [selectel]
    -type = s3
    -provider = Selectel
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_ACCESS_KEY
    -region = ru-1
    -endpoint = s3.ru-1.storage.selcloud.ru
    +
    [selectel]
    +type = s3
    +provider = Selectel
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_ACCESS_KEY
    +region = ru-1
    +endpoint = s3.ru-1.storage.selcloud.ru

    Servercore

    Servercore Object Storage is an S3 compatible object storage system that @@ -37269,13 +37495,13 @@ e) Edit this remote d) Delete this remote y/e/d> y

    And your config should end up looking like this:

    -
    [spectratest]
    -type = s3
    -provider = SpectraLogic
    -access_key_id = ACCESS_KEY
    -secret_access_key = SECRET_ACCESS_KEY
    -endpoint = https://bp.example.com
    +
    [spectratest]
    +type = s3
    +provider = SpectraLogic
    +access_key_id = ACCESS_KEY
    +secret_access_key = SECRET_ACCESS_KEY
    +endpoint = https://bp.example.com

    Storj

    Storj is a decentralized cloud storage which can be used through its native protocol or an S3 compatible gateway.

    @@ -37824,19 +38050,19 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [wasabi]
    -type = s3
    -provider = Wasabi
    -env_auth = false
    -access_key_id = YOURACCESSKEY
    -secret_access_key = YOURSECRETACCESSKEY
    -region =
    -endpoint = s3.wasabisys.com
    -location_constraint =
    -acl =
    -server_side_encryption =
    -storage_class =
    +
    [wasabi]
    +type = s3
    +provider = Wasabi
    +env_auth = false
    +access_key_id = YOURACCESSKEY
    +secret_access_key = YOURSECRETACCESSKEY
    +region =
    +endpoint = s3.wasabisys.com
    +location_constraint =
    +acl =
    +server_side_encryption =
    +storage_class =

    Zadara Object Storage

    Zadara Object Storage is a fully-managed, enterprise-grade, S3-compatible storage solution that @@ -37936,13 +38162,13 @@ e) Edit this remote d) Delete this remote y/e/d> y

    This will leave the config file looking like this.

    -
    [Zadara-Object-Storage]
    -type = s3
    -provider = Zadara
    -access_key_id = S3_ACCESS_KEY
    -secret_access_key = S3_SECRET_KEY
    -endpoint = https://vsa-00000001-public-zadara-cloud-01.zadarazios.com
    +
    [Zadara-Object-Storage]
    +type = s3
    +provider = Zadara
    +access_key_id = S3_ACCESS_KEY
    +secret_access_key = S3_SECRET_KEY
    +endpoint = https://vsa-00000001-public-zadara-cloud-01.zadarazios.com

    Zata Object Storage

    Zata Object Storage provides a secure, S3-compatible cloud storage solution designed for scalability and @@ -38078,14 +38304,14 @@ e) Edit this remote d) Delete this remote y/e/d>

    This will leave the config file looking like this.

    -
    [my zata storage]
    -type = s3
    -provider = Zata
    -access_key_id = xxx
    -secret_access_key = xxx
    -region = us-east-1
    -endpoint = idr01.zata.ai
    +
    [my zata storage]
    +type = s3
    +provider = Zata
    +access_key_id = xxx
    +secret_access_key = xxx
    +region = us-east-1
    +endpoint = idr01.zata.ai

    Zero Services (ZERO-Z3)

    Zero Services GmbH offers ZERO-Z3, S3-compatible object storage hosted in the EU on its own @@ -38957,6 +39183,10 @@ with private buckets by sending an "Authorization" header. If the custom endpoint rewrites the requests for authentication, e.g., in Cloudflare Workers, this header needs to be handled properly. Leave blank if you want to use the endpoint provided by Backblaze.

    +

    Rclone will not follow a redirect from this endpoint which downgrades +HTTPS to HTTP, and will not send the "Authorization" header or the SSE-C +key headers once a redirect has left the host and port of this +endpoint.

    The URL provided here SHOULD have the protocol and SHOULD NOT have a trailing slash or specify the /file/bucket subpath as rclone will request files with "{download_url}/file/{bucket_name}/{path}".

    @@ -39122,15 +39352,15 @@ bucket.

    To show the current lifecycle rules:

    rclone backend lifecycle b2:bucket

    This will dump something like this showing the lifecycle rules.

    -
    [
    -    {
    -        "daysFromHidingToDeleting": 1,
    -        "daysFromUploadingToHiding": null,
    -        "daysFromStartingToCancelingUnfinishedLargeFiles": null,
    -        "fileNamePrefix": ""
    -    }
    -]
    +
    [
    +    {
    +        "daysFromHidingToDeleting": 1,
    +        "daysFromUploadingToHiding": null,
    +        "daysFromStartingToCancelingUnfinishedLargeFiles": null,
    +        "fileNamePrefix": ""
    +    }
    +]

    If there are no lifecycle rules (the default) then it will just return [].

    To reset the current lifecycle rules:

    @@ -42358,18 +42588,18 @@ the shared drives you have access to.

    drive: you would run

    rclone backend -o config drives drive:

    This would produce something like this:

    -
    [My Drive]
    -type = alias
    -remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
    -
    -[Test Drive]
    -type = alias
    -remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
    -
    -[AllDrives]
    -type = combine
    -upstreams = "My Drive=My Drive:" "Test Drive=Test Drive:"
    +
    [My Drive]
    +type = alias
    +remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
    +
    +[Test Drive]
    +type = alias
    +remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
    +
    +[AllDrives]
    +type = combine
    +upstreams = "My Drive=My Drive:" "Test Drive=Test Drive:"

    If you then add that config to your config file (find it with rclone config file) then you can access all the shared drives in one place with the AllDrives: remote.

    @@ -44184,6 +44414,75 @@ y/e/d> y

    Sync /home/local/directory to the remote directory, deleting any excess files in the directory.

    rclone sync --interactive /home/local/directory remote:dir
    +

    Restricted filename +characters

    +

    In addition to the default +restricted characters set the following characters are also +replaced:

    + + + + + + + + + + + + + + + +
    CharacterValueReplacement
    \0x5C\
    +

    File names can also not end with the following characters. These only +get replaced if they are the last character in the name:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CharacterValueReplacement
    SP0x20␠
    LF0x0A␊
    CR0x0D␍
    HT0x09␉
    VT0x0B␋
    +

    Invalid UTF-8 bytes will also be replaced.

    +

    Files.com treats the replacements / and \ +as if they were / and \, and the names +. and .. as if they were . and +.., and rejects them with Invalid path. This +means that files with / or \ in their names, +or which are called . or .., can't be stored +on Files.com.

    Hashes

    In December 2024 files.com started supporting @@ -44390,7 +44689,7 @@ FTP backend then use the override syntax, eg

    override.ca_cert = XXX
     override.client_cert = XXX
     override.client_key = XXX
    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -44850,7 +45149,7 @@ hashes

    Gofile supports modification times with a resolution of 1 second.

    Gofile supports MD5 hashes, so you can use the --checksum flag.

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -45345,7 +45644,7 @@ gsutil only contain timestamps with one-second precision. If you use rclone to sync files previously uploaded by gsutil, rclone will attempt to update modification time for all these files. To avoid these possibly unnecessary updates, use --modify-window 1s.

    -

    Restricted filename +

    Restricted filename characters

    @@ -46280,7 +46579,7 @@ hashes

    Hash algorithms MD5, SHA1 and SHA256 are supported. Note, however, that a small fraction of files uploaded may not have SHA1 or SHA256 hashes especially if they were uploaded before 2018.

    -

    Restricted filename +

    Restricted filename characters

    Only Invalid UTF-8 bytes will be replaced, as they @@ -47621,34 +47920,34 @@ account.

    Usage example:

    rclone backend [-o config] drives drive:

    This will return a JSON list of objects like this:

    -
    [
    -    {
    -        "id": "0ABCDEF-01234567890",
    -        "kind": "drive#teamDrive",
    -        "name": "My Drive"
    -    },
    -    {
    -        "id": "0ABCDEFabcdefghijkl",
    -        "kind": "drive#teamDrive",
    -        "name": "Test Drive"
    -    }
    -]
    +
    [
    +    {
    +        "id": "0ABCDEF-01234567890",
    +        "kind": "drive#teamDrive",
    +        "name": "My Drive"
    +    },
    +    {
    +        "id": "0ABCDEFabcdefghijkl",
    +        "kind": "drive#teamDrive",
    +        "name": "Test Drive"
    +    }
    +]

    With the -o config parameter it will output the list in a format suitable for adding to a config file to make aliases for all the drives found and a combined drive.

    -
    [My Drive]
    -type = alias
    -remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
    -
    -[Test Drive]
    -type = alias
    -remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
    -
    -[AllDrives]
    -type = combine
    -upstreams = "My Drive=My Drive:" "Test Drive=Test Drive:"
    +
    [My Drive]
    +type = alias
    +remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
    +
    +[Test Drive]
    +type = alias
    +remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
    +
    +[AllDrives]
    +type = combine
    +upstreams = "My Drive=My Drive:" "Test Drive=Test Drive:"

    Adding this to the rclone config file will cause those team drives to be accessible with the aliases shown. Any illegal characters will be substituted with "_" and duplicate names will have numbers suffixed. It @@ -47667,11 +47966,11 @@ use via the API.

    Use the --interactive/-i or --dry-run flag to see what would be restored before restoring it.

    Result:

    -
    {
    -    "Untrashed": 17,
    -    "Errors": 0
    -}
    +
    {
    +    "Untrashed": 17,
    +    "Errors": 0
    +}

    copyid

    Copy files by ID.

    rclone backend copyid remote: [options] [<arguments>+]
    @@ -47727,32 +48026,32 @@ escaped with  characters. "'" becomes "'" and "" becomes "\", for example to match a file named "foo ' .txt":

    rclone backend query drive: "name = 'foo \' \\\.txt'"

    The result is a JSON array of matches, for example:

    -
    [
    -    {
    -        "createdTime": "2017-06-29T19:58:28.537Z",
    -        "id": "0AxBe_CDEF4zkGHI4d0FjYko2QkD",
    -        "md5Checksum": "68518d16be0c6fbfab918be61d658032",
    -        "mimeType": "text/plain",
    -        "modifiedTime": "2024-02-02T10:40:02.874Z",
    -        "name": "foo ' \\.txt",
    -        "parents": [
    -            "0BxAe_BCDE4zkFGZpcWJGek0xbzC"
    -        ],
    -        "resourceKey": "0-ABCDEFGHIXJQpIGqBJq3MC",
    -        "sha1Checksum": "8f284fa768bfb4e45d076a579ab3905ab6bfa893",
    -        "size": "311",
    -        "webViewLink": "https://drive.google.com/file/d/0AxBe_CDEF4zkGHI4d0FjYko2QkD/view?usp=drivesdk\u0026resourcekey=0-ABCDEFGHIXJQpIGqBJq3MC"
    -    }
    -]
    -```console
    -
    -### rescue
    -
    -Rescue or delete any orphaned files.
    -
    -```console
    -rclone backend rescue remote: [options] [<arguments>+]
    +
    [
    +    {
    +        "createdTime": "2017-06-29T19:58:28.537Z",
    +        "id": "0AxBe_CDEF4zkGHI4d0FjYko2QkD",
    +        "md5Checksum": "68518d16be0c6fbfab918be61d658032",
    +        "mimeType": "text/plain",
    +        "modifiedTime": "2024-02-02T10:40:02.874Z",
    +        "name": "foo ' \\.txt",
    +        "parents": [
    +            "0BxAe_BCDE4zkFGZpcWJGek0xbzC"
    +        ],
    +        "resourceKey": "0-ABCDEFGHIXJQpIGqBJq3MC",
    +        "sha1Checksum": "8f284fa768bfb4e45d076a579ab3905ab6bfa893",
    +        "size": "311",
    +        "webViewLink": "https://drive.google.com/file/d/0AxBe_CDEF4zkGHI4d0FjYko2QkD/view?usp=drivesdk\u0026resourcekey=0-ABCDEFGHIXJQpIGqBJq3MC"
    +    }
    +]
    +```console
    +
    +### rescue
    +
    +Rescue or delete any orphaned files.
    +
    +```console
    +rclone backend rescue remote: [options] [<arguments>+]

    This command rescues or deletes any orphaned files or directories.

    Sometimes files can get orphaned in Google Drive. This means that @@ -47889,7 +48188,15 @@ chose "Internal" you don't need to publish and can skip straight to Step 10 but your destination drive must be part of the same Google Workspace.)

  • Go to "Audience" and then click "PUBLISH APP" button and confirm. -Add yourself as a test user if you haven't already.

  • +Add yourself as a test user if you haven't already.

    +

    (If the "PUBLISH APP" button is greyed out, Google now requires a +homepage URL and a privacy policy URL before publishing, even for a +personal single-user app. Go to "Branding" in the left panel, fill in +"Application home page" and "Application privacy policy link" - a free +GitHub Pages site is fine for these if you don't have a domain of your +own - then "Authorized domains" with the domain you used, and click +Save. Return to "Audience" and the "PUBLISH APP" button should now be +available.)

  • Provide the noted client ID and client secret to rclone.

  • Run the web-based authorization flow from within rclone config, by answering "Y" when it asks "Token already @@ -48567,18 +48874,18 @@ y/e/d> y config file, usually YOURHOME/.config/rclone/rclone.conf. Open it in your favorite text editor, find section for the base remote and create new section for hasher like in the following examples:

    -
    [Hasher1]
    -type = hasher
    -remote = myRemote:path
    -hashes = md5
    -max_age = off
    -
    -[Hasher2]
    -type = hasher
    -remote = /local/path
    -hashes = dropbox,sha1
    -max_age = 24h
    +
    [Hasher1]
    +type = hasher
    +remote = myRemote:path
    +hashes = md5
    +max_age = off
    +
    +[Hasher2]
    +type = hasher
    +remote = /local/path
    +hashes = dropbox,sha1
    +max_age = 24h

    Hasher takes basically the following parameters:

  • @@ -53382,7 +53691,7 @@ rclone serve sftp :memory: hashes

    The memory backend supports MD5 hashes and modification times accurate to 1 nS.

    -

    Restricted filename +

    Restricted filename characters

    The memory backend replaces the default @@ -53809,7 +54118,7 @@ the cost of using more memory. The default of 16 is set quite conservatively to use less memory. It maybe be necessary raise it to 64 or higher to fully utilize a 1 GBit/s link with a single file transfer.

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -54040,14 +54349,14 @@ must be explicitly specified using exactly one of the msi_object_id, msi_client_id, or msi_mi_res_id parameters.

    If none of msi_object_id, msi_client_id, or -msi_mi_res_id is set, this is is equivalent to using +msi_mi_res_id is set, this is equivalent to using env_auth.

    Federated Identity Credentials

    If these variables are set, rclone will authenticate with federated identity.

    +

    --azureblob-use-arrow-list

    +

    Use the Apache Arrow listing format.

    +

    If set, directory listings are fetched using the ListBlobs Apache +Arrow response format instead of XML. Arrow responses are smaller and +much cheaper to parse, making listings of large containers several times +faster. Combine with "list_parallelism" for the biggest gains.

    +

    "Blob Listing with Apache Arrow" is in public preview at Microsoft +and is only supported on flat namespace accounts. On accounts with a +hierarchical namespace (ADLS Gen2), or where the feature is otherwise +unavailable, the server returns XML and the listing transparently falls +back to the normal XML path (logged at debug level).

    +

    Properties:

    + +

    --azureblob-list-parallelism

    +

    Number of parallel shards to list a directory with.

    +

    If set greater than 1, the blob name keyspace of each directory is +split into ranges which are listed concurrently using the Arrow +startFrom/endBefore range parameters. This can dramatically speed up +listing containers with millions of objects, for both recursive (ListR) +and single directory listings. Speed keeps improving up to a parallelism +of around 30.

    +

    This has no effect unless "use_arrow_list" is also set, as Arrow is +the only listing path that supports server-side name ranges. If the +account does not support range listing (e.g. it has a hierarchical +namespace) the listing falls back to sequential. The default of 0 (or 1) +lists sequentially.

    +

    Properties:

    +

    --azureblob-access-tier

    Access tier of blob: hot, cool, cold or archive.

    Archived blobs can be restored by setting access tier to hot, cool or @@ -54860,7 +55207,7 @@ at the cost of using more memory. The default of 16 is set quite conservatively to use less memory. It maybe be necessary raise it to 64 or higher to fully utilize a 1 GBit/s link with a single file transfer.

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -55108,14 +55455,14 @@ must be explicitly specified using exactly one of the msi_object_id, msi_client_id, or msi_mi_res_id parameters.

    If none of msi_object_id, msi_client_id, or -msi_mi_res_id is set, this is is equivalent to using +msi_mi_res_id is set, this is equivalent to using env_auth.

    Federated Identity Credentials

    If these variables are set, rclone will authenticate with federated identity.

    --onedrive-no-versions

    Remove all versions on modifying operations.

    -

    Onedrive for business creates versions when rclone uploads new files -overwriting an existing one and when it sets the modification time.

    +

    Onedrive creates versions when rclone uploads new files overwriting +an existing one and when it sets the modification time.

    These versions take up space out of the quota.

    This flag checks for versions after file upload and setting modification time and removes all but the last version.

    -

    NB Onedrive personal can't currently delete versions -so don't use this flag there.

    Properties:

    Set the password for links created by the link command.

    -

    At the time of writing this only works with OneDrive personal paid -accounts.

    +

    At the time of writing this works with OneDrive for Business and +OneDrive personal paid accounts.

    +

    OneDrive personal free accounts can't set a password or an expiry +time (with --expire) on links.

    Properties:

    - + @@ -56652,8 +56998,7 @@ supported by Microsoft. - + @@ -56701,15 +57046,14 @@ organization, or users. - + - + @@ -56798,10 +57142,6 @@ remove all old versions.

    true and rclone will remove versions after operations which create new versions. This takes extra transactions so only enable it if you need it.

    -

    Note At the time of writing Onedrive Personal -creates versions (but not for setting the modification time) but the API -for removing them returns "API not found" so cleanup and -no_versions should not be used on Onedrive Personal.

    Disabling versioning

    Starting October 2018, users will no longer be able to disable versioning by default. This is because Microsoft has brought an

    rclone cleanup --interactive remote:path/subdir # interactively remove all old version for path/subdir
     rclone cleanup remote:path/subdir               # unconditionally remove all old version for path/subdir
    -

    NB Onedrive personal can't currently delete -versions

    Troubleshooting

    Excessive throttling or blocked on SharePoint

    @@ -56953,6 +57291,22 @@ src="https://i.imgur.com/0S8H3li.png" title="Screenshot (My Files)" alt="in_my_files" /> rclone_mount +

    Listing such a shortcut may still fail with

    +
    invalidRequest: The provided drive id appears to be malformed, or does not represent a valid drive.
    +

    as the drive it points to can't always be read with the drive ID the +API supplies. Personal Vault is a shortcut of the same kind +and fails to list in the same way, though it reports +invalidResourceId: ObjectHandle is Invalid.

    +

    A normal listing reports the error for that folder and carries on, so +the rest of the drive is still listed, and excluding the folder (for +example with --exclude "/Personal Vault/**") avoids the +error.

    +

    A recursive listing with --fast-list stops at the first +error, so listing the root of a drive which has one of these shortcuts +in it will fail. Filters don't help here as the folder is listed by the +backend before the filters are applied - use +--disable ListR (or don't use --fast-list) on +such a drive.

    Live Photos uploaded from iOS (small video clips in .heic files)

    @@ -57043,7 +57397,7 @@ hashes 1 second. These will be used to detect whether objects need syncing or not.

    The MD5 hash algorithm is supported.

    -

    Restricted filename +

    Restricted filename characters

    btimeTime of file birth (creation) with S accuracy (mS for OneDrive -Personal).Time of file birth (creation) with S accuracy. RFC 3339 2006-01-02T15:04:05Z N
    mtimeTime of last modification with S accuracy (mS for OneDrive -Personal).Time of last modification with S accuracy. RFC 3339 2006-01-02T15:04:05Z N
    shared-timeTime when the item was shared, with S accuracy (mS for OneDrive -Personal).Time when the item was shared, with S accuracy. RFC 3339 2006-01-02T15:04:05Z Y
    utimeTime of upload with S accuracy (mS for OneDrive Personal).Time of upload with S accuracy. RFC 3339 2006-01-02T15:04:05Z Y
    @@ -57398,15 +57752,15 @@ No authentication

    User Principal

    Sample rclone config file for Authentication Provider User Principal:

    -
    [oos]
    -type = oracleobjectstorage
    -namespace = id<redacted>34
    -compartment = ocid1.compartment.oc1..aa<redacted>ba
    -region = us-ashburn-1
    -provider = user_principal_auth
    -config_file = /home/opc/.oci/config
    -config_profile = Default
    +
    [oos]
    +type = oracleobjectstorage
    +namespace = id<redacted>34
    +compartment = ocid1.compartment.oc1..aa<redacted>ba
    +region = us-ashburn-1
    +provider = user_principal_auth
    +config_file = /home/opc/.oci/config
    +config_profile = Default

    Advantages:

    -

    Restricted filename +

    Restricted filename characters

    The control characters 0x00-0x1F and / are replaced as in the default @@ -58542,7 +58896,7 @@ microsecond. These will be used to detect whether objects need syncing or not.

    Quatrix does not support hashes, so you cannot use the --checksum flag.

    -

    Restricted filename +

    Restricted filename characters

    File names in Quatrix are case sensitive and have limitations like the maximum length of a filename is 255, and the minimum length is 1. A @@ -59002,29 +59356,29 @@ deleting any excess files in the container.

    rclone sync --interactive /home/local/directory remote:container

    Configuration from an OpenStack credentials file

    -

    An OpenStack credentials file typically looks something something -like this (without the comments)

    -
    export OS_AUTH_URL=https://a.provider.net/v2.0
    -export OS_TENANT_ID=ffffffffffffffffffffffffffffffff
    -export OS_TENANT_NAME="1234567890123456"
    -export OS_USERNAME="123abc567xy"
    -echo "Please enter your OpenStack Password: "
    -read -sr OS_PASSWORD_INPUT
    -export OS_PASSWORD=$OS_PASSWORD_INPUT
    -export OS_REGION_NAME="SBG1"
    -if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
    +

    An OpenStack credentials file typically looks something like this +(without the comments)

    +
    export OS_AUTH_URL=https://a.provider.net/v2.0
    +export OS_TENANT_ID=ffffffffffffffffffffffffffffffff
    +export OS_TENANT_NAME="1234567890123456"
    +export OS_USERNAME="123abc567xy"
    +echo "Please enter your OpenStack Password: "
    +read -sr OS_PASSWORD_INPUT
    +export OS_PASSWORD=$OS_PASSWORD_INPUT
    +export OS_REGION_NAME="SBG1"
    +if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi

    The config file needs to look something like this where $OS_USERNAME represents the value of the OS_USERNAME variable - 123abc567xy in the example above.

    -
    [remote]
    -type = swift
    -user = $OS_USERNAME
    -key = $OS_PASSWORD
    -auth = $OS_AUTH_URL
    -tenant = $OS_TENANT_NAME
    +
    [remote]
    +type = swift
    +user = $OS_USERNAME
    +key = $OS_PASSWORD
    +auth = $OS_AUTH_URL
    +tenant = $OS_TENANT_NAME

    Note that you may (or may not) need to set region too - try without first.

    Configuration from the @@ -59053,11 +59407,11 @@ OpenStack installation.

    config file

    You can use rclone with swift without a config file, if desired, like this:

    -
    source openstack-credentials-file
    -export RCLONE_CONFIG_MYREMOTE_TYPE=swift
    -export RCLONE_CONFIG_MYREMOTE_ENV_AUTH=true
    -rclone lsd myremote:
    +
    source openstack-credentials-file
    +export RCLONE_CONFIG_MYREMOTE_TYPE=swift
    +export RCLONE_CONFIG_MYREMOTE_ENV_AUTH=true
    +rclone lsd myremote:

    --fast-list

    This remote supports --fast-list which allows you to use fewer transactions in exchange for more memory. See the

    This is a de facto standard (used in the official python-swiftclient amongst others) for storing the modification time for an object.

    The MD5 hash algorithm is supported.

    -

    Restricted filename +

    Restricted filename characters

    @@ -59644,7 +59998,7 @@ re-uploaded.

    pCloud supports MD5 and SHA1 hashes in the US region, and SHA1 and SHA256 hashes in the EU region, so you can use the --checksum flag.

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -59722,8 +60076,8 @@ without manual refreshes.

    If you want to debug or verify notifications, you can use the helper command:

    -
    rclone test changenotify remote:
    +
    rclone test changenotify remote:

    This will log incoming change notifications for the given remote.

    @@ -60143,12 +60497,12 @@ in 'pikpak:dirpath'. You may want to pass '-o password=password' for a password-protected files. Also, pass '-o delete-src-file' to delete source files after decompression finished.

    Result:

    -
    {
    -    "Decompressed": 17,
    -    "SourceDeleted": 0,
    -    "Errors": 0
    -}
    +
    {
    +    "Decompressed": 17,
    +    "SourceDeleted": 0,
    +    "Errors": 0
    +}

    Limitations

    Hashes may be empty

    @@ -60422,7 +60776,7 @@ hashes

    premiumize.me does not support modification times or hashes, therefore syncing will default to --size-only checking. Note that using --update will work.

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -60630,7 +60984,7 @@ hashes

    Proton Drive Bridge does not support updating modification times yet.

    The SHA1 hash algorithm is supported.

    -

    Restricted filename +

    Restricted filename characters

    Invalid UTF-8 bytes will be replaced, also left @@ -60925,7 +61279,7 @@ mode.

    rclone ls remote:

    To copy a local directory to a put.io directory called backup

    rclone copy /home/source remote:backup
    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -61124,7 +61478,7 @@ hashes

    Proton Drive Bridge does not support updating modification times yet.

    The SHA1 hash algorithm is supported.

    -

    Restricted filename +

    Restricted filename characters

    Invalid UTF-8 bytes will be replaced, also left @@ -61537,7 +61891,7 @@ to use fewer transactions in exchange for more memory. See the rclone docs for more details. Please note this is not supported on seafile server version 6.x

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -61842,13 +62196,13 @@ provide the path to the user certificate public key file in key, typically saved as /home/$USER/.ssh/id_rsa.pub. Setting this path in pubkey_file will not work.

    Example:

    -
    [remote]
    -type = sftp
    -host = example.com
    -user = sftpuser
    -key_file = ~/id_rsa
    -pubkey_file = ~/id_rsa-cert.pub
    +
    [remote]
    +type = sftp
    +host = example.com
    +user = sftpuser
    +key_file = ~/id_rsa
    +pubkey_file = ~/id_rsa-cert.pub

    If you concatenate a cert with a private key then you can specify the merged file in both places.

    Note: the cert must come first in the file. e.g.

    @@ -61873,13 +62227,13 @@ automatically with --sftp-pin-host-key.

    Using the OpenSSH known_hosts file

    Using the OpenSSH known_hosts file looks like this:

    -
    [remote]
    -type = sftp
    -host = example.com
    -user = sftpuser
    -pass = 
    -known_hosts_file = ~/.ssh/known_hosts
    +
    [remote]
    +type = sftp
    +host = example.com
    +user = sftpuser
    +pass = 
    +known_hosts_file = ~/.ssh/known_hosts

    Alternatively you can create your own known hosts file like this:

    ssh-keyscan -t dsa,rsa,ecdsa,ed25519 example.com >> known_hosts

    There are some limitations:

    @@ -61931,13 +62285,13 @@ server operator.

    --sftp-pin-host-key is ignored.

    After the first successful connection the config will contain a new line:

    -
    [remote]
    -type = sftp
    -host = example.com
    -user = sftpuser
    -pass = 
    -host_keys = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA...
    +
    [remote]
    +type = sftp
    +host = example.com
    +user = sftpuser
    +pass = 
    +host_keys = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA...

    The host_keys field is always validated against the offered host key when non-empty, so you can also pin a known key by hand without ever running with the flag. Each entry is the complete public @@ -62913,54 +63267,54 @@ account and created drive respectively.

    Now run

    rclone config

    Follow this interactive process:

    -
    $ rclone config
    -e) Edit existing remote
    -n) New remote
    -d) Delete remote
    -r) Rename remote
    -c) Copy remote
    -s) Set configuration password
    -q) Quit config
    -e/n/d/r/c/s/q> n
    -
    -Enter name for new remote.
    -name> Shade
    -
    -Option Storage.
    -Type of storage to configure.
    -Choose a number from below, or type in your own value.
    -[OTHER OPTIONS]
    -xx / Shade FS
    -   \ (shade)
    -[OTHER OPTIONS]
    -Storage> xx
    -
    -Option drive_id.
    -The ID of your drive, see this in the drive settings. Individual rclone configs must be made per drive.
    -Enter a value.
    -drive_id> [YOUR_ID]
    -
    -Option api_key.
    -An API key for your account.
    -Enter a value.
    -api_key> [YOUR_API_KEY]
    -
    -Edit advanced config?
    -y) Yes
    -n) No (default)
    -y/n> n
    -
    -Configuration complete.
    -Options:
    -- type: shade
    -- drive_id: [YOUR_ID]
    -- api_key: [YOUR_API_KEY]
    -Keep this "Shade" remote?
    -y) Yes this is OK (default)
    -e) Edit this remote
    -d) Delete this remote
    -y/e/d> y
    +
    $ rclone config
    +e) Edit existing remote
    +n) New remote
    +d) Delete remote
    +r) Rename remote
    +c) Copy remote
    +s) Set configuration password
    +q) Quit config
    +e/n/d/r/c/s/q> n
    +
    +Enter name for new remote.
    +name> Shade
    +
    +Option Storage.
    +Type of storage to configure.
    +Choose a number from below, or type in your own value.
    +[OTHER OPTIONS]
    +xx / Shade FS
    +   \ (shade)
    +[OTHER OPTIONS]
    +Storage> xx
    +
    +Option drive_id.
    +The ID of your drive, see this in the drive settings. Individual rclone configs must be made per drive.
    +Enter a value.
    +drive_id> [YOUR_ID]
    +
    +Option api_key.
    +An API key for your account.
    +Enter a value.
    +api_key> [YOUR_API_KEY]
    +
    +Edit advanced config?
    +y) Yes
    +n) No (default)
    +y/n> n
    +
    +Configuration complete.
    +Options:
    +- type: shade
    +- drive_id: [YOUR_ID]
    +- api_key: [YOUR_API_KEY]
    +Keep this "Shade" remote?
    +y) Yes this is OK (default)
    +e) Edit this remote
    +d) Delete this remote
    +y/e/d> y

    Modification times and hashes

    Shade does not support hashes and writing mod times.

    @@ -63220,12 +63574,13 @@ y/e/d> d

    --smb-user

    SMB username.

    +

    Leave blank to use the current user name.

    Properties:

    --smb-port

    SMB port number.

    @@ -63860,7 +64215,7 @@ hashes syncing will default to --size-only checking. Note that using --update will work as rclone can read the time files were uploaded.

    -

    Restricted filename +

    Restricted filename characters

    SugarSync replaces the default @@ -64092,7 +64447,7 @@ and hashes. Timestamps are stored with microsecond precision.

    Afterwards, the backend only serves the client-side calculated hashes. Hashes can also be retrieved upon creating a file download link, but it's impractical for list-like use cases.

    -

    Restricted filename +

    Restricted filename characters

    In addition to the default @@ -64551,13 +64906,13 @@ upstream.

    Writeback

    The tag :writeback on an upstream remote can be used to make a simple cache system like this:

    -
    [union]
    -type = union
    -action_policy = all
    -create_policy = all
    -search_policy = ff
    -upstreams = /local:writeback remote:dir
    +
    [union]
    +type = union
    +action_policy = all
    +create_policy = all
    +search_policy = ff
    +upstreams = /local:writeback remote:dir

    When files are opened for read, if the file is in remote:dir but not /local then rclone will copy the file entirely into /local before returning a @@ -64875,6 +65230,12 @@ used.

    '"Cookie","name=value"'.

    You can set multiple headers, e.g. '"Cookie","name=value","Authorization","xxx"'.

    +

    The headers are only sent to the host in the configured URL. If the +server redirects to another host (including a subdomain or a different +port) the headers are not sent to it, or to any further hop in that +redirect chain. The exception is the directory listing and file download +requests when auth_redirect is set, as that keeps all credentials across +redirects.

    Properties: