Windows Cache Location?

Is there a way to change the location of where it RClone caches files or just simply load the entire file to RAM? I have an SSD as my C drive, and I want to cache files before transferring them to my Google Drive which I have mounted an encrypted but I don’t want to put my SSD through that many writes, plus it has almost no storage space left. If I choose not to cache them, the file transfer takes ages. Any help is much appreciated.

By default rclone doesn’t cache anything on disk.

What’s the command you are using?

–vfs-cache-mode=writes

He uses it under Windows and the mount command was simply: rclone mount cryptmount:/ Q:

But with this, the upload was really slow, around 2 MB/s, so he turned on the vfs cache in writes mode. Is there a way to change where to write the temp buffer?

Also, what are the optimal flags for Windows? I just did some benchmarks and if it’s mounted, all the file operations through Explorer are slow. Rclone copy works like a charm however.

(PS: had to reply instead of him because he is a new user and the forum won’t let him post before a mod review) nvm

If you are using writes, it’s --cache-dir for the location of the files.

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

Any file that writes will be dropped there first.

1 Like

Thanks so much that was a HUGE help and it worked perfectly!