Sync command respecting S3 versions

At the moment I’m using rclone for backing up my websites to S3. I.e., syncing from SFTP to S3. To keep track of changes, I enabled versioning on my AWS buckets. To restore a backup, I would then simply sync in the other direction. Rclone in its current state, doesn’t know about versions, and hence just checks against the most recent version of the object in the S3 bucket. It would be nice to have an option to let rclone check against the most recent version before a certain date. In that way, I could restore older backups.

There is an issue about this here: https://github.com/ncw/rclone/issues/1776

Do you fancy working on it?