In particular, can we specify fast-list = true and transfers = 32 in rclone.conf file for B2 storage? If, yes, not sure how to map them to the config file, e.g. for crypt remote command line flag --crypt-directory-name-encryption appears in the config file as directory_name_encryption
I’m using rclone as a backend for restic (I’m very new to both of them) and not sure how to pass options from restic to rclone otherwise, I figured the config file would be the way.
Helpful but doesn’t quite answer my question. I’m interested in what goes in the config file, not env variables, e.g. is it fast-list or fast_list in the config file?
I do not know what the problem is, I found that the rclone configuration file does not have those parameters by default. You can type that code and remember to mask the important tokens.
What about transfers? How do we know what can and what cannot go in the config file? This is confusing, command line flags, env variables, config file, …
But again the question is can transfers go in the config file? How can one tell whether it does anything once in there? Looks like I can put anything in the config file and it may work or may get ignored.
It would be nice to have a flag on the command line that shows the final configuration that is used after processing cmd line flags, env variables, rclone.conf file and all the override rules.
You shared the env var for transfers RCLONE_CONFIG_MYREMOTE_TRANSFERS but still unclear to me how things map from cmd line flags or env vars into config file options.
And just to be clear we are not talking about shell scripts or some other config files, by config file I mean ~/.config/rclone/rclone.conf (at least on Linux, on other systems whatever rclone config file may print).
I don’t believe they can go into the config file but I’d go the other way. You can have a script that has all the environment variables doing the same thing.
That would accomplish the same goal without using the config file at all.
The latter. Any configs which have a backend name in can go in the config file eg --b2-hard-delete any without can’t. So --fast-list becomes RCLONE_CONFIG_FAST_LIST=true
Thank you for clarifying. Is there any way to see the “final” list of config values after cmd line, env vars, config file are all processed? Hard to tell if some of these options are honored, there can be spelling mistakes, etc.
I think in addition to --dump config, it'd be nice to be able to specify a [default] section or something like that in the config with default values for options instead of shell env vars.