What is the problem you are having with rclone?
config dump
and config show
do not include config that is in environment variables like RCLONE_CONFIG_<REMOTE_NAME>_<OPTION>
.
But I'm not sure if that's by design or not. The docs do specifically mention "from the config file". In which case this is not a bug but a feature to discuss.
Use case is a container setup in which an unknown rclone remote config will be made with env vars (by someone else) which I want to "parse" and use it for another executable.
Run the command 'rclone version' and share the full output of the command.
1.60
Which cloud storage system are you using? (eg Google Drive)
local, http, azureblob, e.a.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
export RCLONE_CONFIG_TEST_URL=https://somesite.com/
export RCLONE_CONFIG_TEST_TYPE=http
rclone config dump
rclone config show test
The rclone config contents with secrets removed.
n/a
A log from the command with the -vv
flag
$ rclone config dump -vv
2022/11/16 16:27:46 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "config" "dump" "-vv"]
2022/11/16 16:27:46 DEBUG : Using config file from "/home/me/.config/rclone/rclone.conf"
{
/* other config */
}
2022/11/16 16:27:46 DEBUG : rclone: Version "v1.60.0" finishing with parameters ["rclone" "config" "dump" "-vv"]