What is the problem you are having with rclone?
Probably training. I'm trying to mount Jottacloud to a drive letter in Windows. Copying files seems fine but it complains about every file, suggesting I use writes cache. If I do this, the cache folder in localappdata just keeps on stealing drive space and never clears.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: Microsoft Windows Server 2022 Datacenter 21H2 (64 bit)
- os/kernel: 10.0.20348.1787 Build 20348.1787.1787 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: cmount
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
-->
Which cloud storage system are you using? (eg Google Drive)
Jottacloud
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone.exe mount Jottacloud: J: --vfs-cache-mode writes
The rclone config contents with secrets removed.
[Jottacloud]
type = jottacloud
configVersion = 1
client_id = jottacli
client_secret =
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":" (redacated)
device =
mountpoint =
From my understanding if I don't use any cache whatsoever, copying files seems to work fine, but I get : WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes after every file copy. I'm also led to believe that it doesn't really do error handling very well. So I guess I need to use --vfs-cache-mode >= writes. If I do use this, every file I copy to the rclone mount drive, stays in the localappdata folder on Windows and never gets removed. Naturally this is eating up drive space and I can only appear to delete this folder manually (after confirming that the files have uploaded).
I then tried appending --vfs-cache-max-size 1 which does seem to work and achieves what I'm after, however if I copy a folder over with say multiple directories, the directories, although empty still remain. So not ideal either.
I can't find an awful lot about what I'm trying to achieve, and I'm very new to this. Any useful advice would be appreciated, thanks in advance!