How can I automatically sync a modified Excel file in Sharepoint?

I have a Sharepoint account with an Excel file that needs to be regularly synced with my machine. The problem is that when I run the sync option the Excel file does not update when the contents change on Sharepoint. It only works when I manually delete the file on my machine and run it.

rclone v1.69.1
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.11.0-19-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: none

[SFS]
type = onedrive
token = XXX
drive_id = XXX
drive_type = documentLibrary

/usr/bin/rclone sync --delete-during --ignore-existing --checksum --verbose --transfers 4 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --stats-file-name-length 0 --fast-list --drive-shared-with-me SFS:TRACE /home/XXX/...
``

welcome to the forum,

that is an old vesion of rclone, can rclone selfupdate and test again


it does work. there seems to be a short delay.

  1. modify excel sheet
  2. wait for x seconds
  3. rclone copy works
DEBUG : zork.xlsx: Sizes differ (src 14458 vs dst 14150)
DEBUG : zork.xlsx: quickxor = 05fbd2e7d9fb004131c7a730c1db5bbaeec6a8cd OK
DEBUG : zork.xlsx.9266d0d8.partial: renamed to: Book.xlsx
INFO  : zork.xlsx: Copied (replaced existing)

Thanks, I just realized that the problem was that is was using the --ignore-existing argument. It works.

yeah, that will cause the issue.
when i first read your post, the command was not posted. i guess you re-edit the post after i read it.