Entering Rclone config password once and then connecting to different remotes

I need to sync several folders that goes to several remotes (different Gdrive accounts). I have added all the commands to do the sync in a CMD file, but before each sync I need to enter the config password. It would be nice to have a way to launch several Rclone command for different remote and entering the password just once.

Do this to read the password into an environment variable, then rclone will pick the password up from there

read -s RCLONE_CONFIG_PASS
export RCLONE_CONFIG_PASS
1 Like