I use rclone to ‘extend’ my fs to a s3 bucket using VFS cache = full.
This works great but I can’t tell the status of a file without manually querying rclone.
A while back a API was introduced to query the sync status of individual files. This solves 75% of the problem already. It was here: https://github.com/rclone/rclone/pull/8784
However, this API is a polling api: every file needs to be queried to check te status. This quickly leads to overhead as Nautilus / Dolphin needs to check the status of every file to determine the status.
Request: add a pushing API for this as well. As soon as rclone itself changed the status is should push an event so Nautilus / Dolphin / Any Desktop Environment can ‘catch’ it and display the status like OneDrive does on Windows (pardon my French).
afiak, that is a feature built into the windows operating system. that window os has a set of api calls for that.
the onedrive client uses the api calls, any app can call those same api calls.
I think on Windows that Explorer (the file browser, like Nautilus or Dolphin on Linux) queries the API in order to fetch the status of every file, and that OneDrive (the syncing software) provides it.
On Linux rclone would provide the API for this (like they already merged in a while ago to poll). Then the Linux equivalent of Explorer would query said API and set the status.
It can already be done today, I have it working on a per file basis. But to have it shown for every file by default like Windows does, it would DoS the rclone API since it would need to query it for every file, every time you open any folder.
In this scenario you would really need rclone to notify you when a files status changes, not poll rclone for every file just to see if it has changed.