VFS writes file auto deletion

What is the problem you are having with rclone?

Files are remaining with VFS writes after upload.

What is your rclone version (output from rclone version)

rclone v1.53.1
- os/arch: linux/arm
- go version: go1.15

How do I ensure files are deleted from cache immediately after they're uploaded, instead of relying on max-age?

Mount command:

/usr/bin/rclone mount \
        --umask 002 \
        --allow-other \
        --vfs-cache-mode writes \
        --vfs-cache-max-age 6h \
        --vfs-cache-max-size 100G \
        --drive-chunk-size 64M \
        --buffer-size 256M --use-mmap \
        --dir-cache-time 1000h \
        --poll-interval 15s \
        -v --log-file /home/agneev/logs/drive.log \
        --rc --rc-addr --rc-no-auth \
        drive: /drive

Keep the age very low like 1 minute (1m) or so. From what I know, files to be uploaded are never removed from cache and once they have been uploaded, they will be removed after 1 minute.

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