Portable mode on Windows (config file and user data not in C:\Users\User\...)

Hi, By default, when creating a new remote, the config and all user related data are stored in:

C:\Users\User\.config\rclone\rclone.conf
C:\Users\User\AppData\Local\rclone

How to enable a "portable mode", i.e. when running

D:\soft\rclone\rclone.exe

all the data gets saved in

D:\soft\rclone\data\

or another custom folder?

You can use --config and specify any location you'd like:

      --config string                        Config file. (default "$HOME/.config/rclone/rclone.conf")

Or, you can create an empty file with name rclone.conf in the same directory as rclone.exe, and it will be used. Read more here: https://rclone.org/docs/#config-config-file

1 Like

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