Rclone Copy files already in the process of buffering


I have a process which files are created but on buffering( example he can do 100ko then 2Mo after 30s) , how can i upload files every moment to avoid the loss of his data then on a cycle of 30 days the files in the source folder is deleted so you have to keep these files on the server (GoogleDrive and Mega for example)?

Thank you for your help.

If you run rclone copy /path/to/local remote: --max-age 10m then that is a quick way of copying files modified within 10 minutes. You can then run this on cron every 5 minutes.

You can use rclone delete remote: --min-age 30d to delete all the files older than 30 days. Check first with --dry-run.

I would like to keep old files on server, so i don't use delete command

You could use rclone delete /path/to/local --min-age 30d to delete files in the local directory then? (Try first with --dry-run)

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