Non Backend Flags as Config file

Is there a way to insert the "Non Backend Flags" as a config file?
Or a Environment variable where we could set it and not in the command line?

can you give an example?

here we have the flags https://rclone.org/flags/
Non Backend Flags and Backend Flags

Backend Flags we can add it the Config file. (default "$HOME/.config/rclone/rclone.conf") with --config string.

How could I add "--cache-dir string" in a conf file for example?

there is no option to set global flags in the config.
https://rclone.org/docs/#config-file
"You can set defaults for values in the config file on an individual remote basis"

tho you can use an environment variable
https://rclone.org/docs/#options-1
RCLONE_CACHE_DIR

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.