Possible to redirect c:\...AppData\Local\rclone?

I noticed that the temp cache files are stored in C:\Windows\System32\config\systemprofile\AppData\Local\rclone... and it can take up quite a lot of space so I wanted to move it.

Is it possible to redirect this location?

What I have in my rclone.conf is the following

[Gdrive]
type = drive
scope = drive
token = {"access_token":"xxxxxxxxxxxxx","expiry":"2020-04-18T16:11:41.9370251+02:00"}
client_id = xxxxxxxxxxxxxxx.apps.googleusercontent.com
client_secret = xxxxxxxxxxxxxxxx
root_folder_id = xxxxxxxxxxxxxxxx

[GdriveCached]
type = cache
cache-remote = gdrive:media
cache-tmp-wait-time = 1m
cache-chunk-size = 15M
cache-info-age = 1y
cache-workers = 5
cache-plex-url = http://127.0.0.1:32400
cache-plex-username = xxxxxxxxxx@gmail.com
cache-plex-password = xxxxxxxxxxxxxxxxxxxxxx
cache-tmp-upload-path = D:\RcloneCache\TmpUpload
cache-db-path = D:\RcloneCache\CacheDBPath
cache-chunk-path = D:\RcloneCache\CacheChunkPath

What is your rclone version (output from rclone version)

rclone v1.51.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 x64

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

mount Gdrive: P: --config D:\RcloneCache\rclone.conf --log-file D:\RcloneCache\Rclone.log --log-level INFO --buffer-size 0M --vfs-cache-mode writes --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36"

--cache-dir is the argument for specifying the cache location.

https://rclone.org/commands/rclone_mount/#file-caching

Thx, that fixed it.
I added it to my nssm command line to start the rclone service

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