mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
Version v1.57.0
This commit is contained in:
@@ -305,13 +305,14 @@ Params:
|
||||
- **withData** = true/false to delete cached data (chunks) as well _(optional, false by default)_
|
||||
|
||||
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/cache/cache.go then run make backenddocs" >}}
|
||||
### Standard Options
|
||||
### Standard options
|
||||
|
||||
Here are the standard options specific to cache (Cache a remote).
|
||||
|
||||
#### --cache-remote
|
||||
|
||||
Remote to cache.
|
||||
|
||||
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
|
||||
"myremote:bucket" or maybe "myremote:" (not recommended).
|
||||
|
||||
@@ -322,7 +323,7 @@ Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
|
||||
|
||||
#### --cache-plex-url
|
||||
|
||||
The URL of the Plex server
|
||||
The URL of the Plex server.
|
||||
|
||||
- Config: plex_url
|
||||
- Env Var: RCLONE_CACHE_PLEX_URL
|
||||
@@ -331,7 +332,7 @@ The URL of the Plex server
|
||||
|
||||
#### --cache-plex-username
|
||||
|
||||
The username of the Plex user
|
||||
The username of the Plex user.
|
||||
|
||||
- Config: plex_username
|
||||
- Env Var: RCLONE_CACHE_PLEX_USERNAME
|
||||
@@ -340,7 +341,7 @@ The username of the Plex user
|
||||
|
||||
#### --cache-plex-password
|
||||
|
||||
The password of the Plex user
|
||||
The password of the Plex user.
|
||||
|
||||
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
|
||||
|
||||
@@ -406,13 +407,13 @@ oldest chunks until it goes under this value.
|
||||
- "10G"
|
||||
- 10 GiB
|
||||
|
||||
### Advanced Options
|
||||
### Advanced options
|
||||
|
||||
Here are the advanced options specific to cache (Cache a remote).
|
||||
|
||||
#### --cache-plex-token
|
||||
|
||||
The plex token for authentication - auto set normally
|
||||
The plex token for authentication - auto set normally.
|
||||
|
||||
- Config: plex_token
|
||||
- Env Var: RCLONE_CACHE_PLEX_TOKEN
|
||||
@@ -421,7 +422,7 @@ The plex token for authentication - auto set normally
|
||||
|
||||
#### --cache-plex-insecure
|
||||
|
||||
Skip all certificate verification when connecting to the Plex server
|
||||
Skip all certificate verification when connecting to the Plex server.
|
||||
|
||||
- Config: plex_insecure
|
||||
- Env Var: RCLONE_CACHE_PLEX_INSECURE
|
||||
@@ -431,6 +432,7 @@ Skip all certificate verification when connecting to the Plex server
|
||||
#### --cache-db-path
|
||||
|
||||
Directory to store file structure metadata DB.
|
||||
|
||||
The remote name is used as the DB file name.
|
||||
|
||||
- Config: db_path
|
||||
@@ -466,6 +468,7 @@ Clear all the cached data for this remote on start.
|
||||
#### --cache-chunk-clean-interval
|
||||
|
||||
How often should the cache perform cleanups of the chunk storage.
|
||||
|
||||
The default value should be ok for most people. If you find that the
|
||||
cache goes over "cache-chunk-total-size" too often then try to lower
|
||||
this value to force it to perform cleanups more often.
|
||||
@@ -535,7 +538,7 @@ available on the local machine.
|
||||
|
||||
#### --cache-rps
|
||||
|
||||
Limits the number of requests per second to the source FS (-1 to disable)
|
||||
Limits the number of requests per second to the source FS (-1 to disable).
|
||||
|
||||
This setting places a hard limit on the number of requests per second
|
||||
that cache will be doing to the cloud provider remote and try to
|
||||
@@ -560,7 +563,7 @@ still pass.
|
||||
|
||||
#### --cache-writes
|
||||
|
||||
Cache file data on writes through the FS
|
||||
Cache file data on writes through the FS.
|
||||
|
||||
If you need to read files immediately after you upload them through
|
||||
cache you can enable this flag to have their data stored in the
|
||||
@@ -589,7 +592,7 @@ provider
|
||||
|
||||
#### --cache-tmp-wait-time
|
||||
|
||||
How long should files be stored in local cache before being uploaded
|
||||
How long should files be stored in local cache before being uploaded.
|
||||
|
||||
This is the duration that a file must wait in the temporary location
|
||||
_cache-tmp-upload-path_ before it is selected for upload.
|
||||
@@ -604,7 +607,7 @@ to start the upload if a queue formed for this purpose.
|
||||
|
||||
#### --cache-db-wait-time
|
||||
|
||||
How long to wait for the DB to be available - 0 is unlimited
|
||||
How long to wait for the DB to be available - 0 is unlimited.
|
||||
|
||||
Only one process can have the DB open at any one time, so rclone waits
|
||||
for this duration for the DB to become available before it gives an
|
||||
@@ -617,7 +620,7 @@ If you set it to 0 then it will wait forever.
|
||||
- Type: Duration
|
||||
- Default: 1s
|
||||
|
||||
### Backend commands
|
||||
## Backend commands
|
||||
|
||||
Here are the commands specific to the cache backend.
|
||||
|
||||
@@ -633,7 +636,7 @@ info on how to pass options and arguments.
|
||||
These can be run on a running backend using the rc command
|
||||
[backend/command](/rc/#backend/command).
|
||||
|
||||
#### stats
|
||||
### stats
|
||||
|
||||
Print stats on the cache backend in JSON format.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user