docs: rc: add more info on how to discover _config and _filter parameters #8584

This commit is contained in:
Nick Craig-Wood 2025-06-05 10:44:33 +01:00
parent 6c36615efe
commit 210acb42cd

View File

@ -318,9 +318,16 @@ $ rclone rc job/list
If you wish to set config (the equivalent of the global flags) for the If you wish to set config (the equivalent of the global flags) for the
duration of an rc call only then pass in the `_config` parameter. duration of an rc call only then pass in the `_config` parameter.
This should be in the same format as the `config` key returned by This should be in the same format as the `main` key returned by
[options/get](#options-get). [options/get](#options-get).
rclone rc --loopback options/get blocks=main
You can see more help on these options with this command (see [the
options blocks section](#option-blocks) for more info).
rclone rc --loopback options/info blocks=main
For example, if you wished to run a sync with the `--checksum` For example, if you wished to run a sync with the `--checksum`
parameter, you would pass this parameter in your JSON blob. parameter, you would pass this parameter in your JSON blob.
@ -351,6 +358,13 @@ pass in the `_filter` parameter.
This should be in the same format as the `filter` key returned by This should be in the same format as the `filter` key returned by
[options/get](#options-get). [options/get](#options-get).
rclone rc --loopback options/get blocks=filter
You can see more help on these options with this command (see [the
options blocks section](#option-blocks) for more info).
rclone rc --loopback options/info blocks=filter
For example, if you wished to run a sync with these flags For example, if you wished to run a sync with these flags
--max-size 1M --max-age 42s --include "a" --include "b" --max-size 1M --max-age 42s --include "a" --include "b"