I'm trying to start using rclone variables since they can set some nice defaults for all remotes.
However, how can I know if they are really being used?
cat << 'EOF' > /etc/profile.d/rclone.sh
RCLONE_FAST_LIST=true
RCLONE_DRIVE_USE_TRASH=true
RCLONE_DRIVE_DISABLE_HTTP=false
EOF
After creating this example env file, and sourcing from it, and checking the variable with echo, when I run rclone with -vvv
I don't see it saying starting with parameters
I set
ncw
(Nick Craig-Wood)
June 27, 2020, 2:01pm
2
Do you think rclone should emit a debug when it picks up an env var?
Yes. I think it's important to have this information
ncw
(Nick Craig-Wood)
June 28, 2020, 5:07pm
4
1 Like
I don't think this is working.
I'm calling rclone and I don't see anywhere the ENV variables I set. And I checked them with echo
Not only is not being displayed anywhere, it's not working.
I set RCLONE_TRANSFERS=10
and did a rclone copy, it only used the default 4 transfers
ncw
(Nick Craig-Wood)
June 30, 2020, 11:43am
7
I think it is logging at debug before the logger has been configured so the logs aren't being seen
How did you set it? This works for me
export RCLONE_TRANSFERS=10
export RCLONE_TRANSFERS=10
Now this worked for me. I set it before like this:
cat << 'EOF' > /etc/profile.d/rclone.sh
RCLONE_FAST_LIST=true
RCLONE_DRIVE_USE_TRASH=true
RCLONE_DRIVE_DISABLE_HTTP=false
RCLONE_TRANSFERS=10
RCLONE_CHECKSUM=TRUE
RCLONE_STATS=5s
RCLONE_DRIVE_CHUNK_SIZE=256M
EOF
Then source /etc/profile.d/rclone.sh
. But is still not being logged
system
(system)
Closed
August 30, 2020, 2:26pm
9
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.