I have a Google Drive folder, and a local GNU-Linux folder I want to keep up-to-date with the GDrive daily. To this aim, I do an rclone sync' GDrive to local in a crontab job; very often, rclone sees a modified file in the GDrive as non-modified and skips the sync. This especially occurs with a certain google sheets file (note that it has to be converted to .xlsx file first). I have tried to copy' instead of `sync', and several options, to no avail.
Run the command 'rclone version' and share the full output of the command.
rclone v1.53.3-DEV
os/arch: linux/amd64
go version: go1.18.1
1.53.3 is the latest version in the Ubuntu 22.04 TLS distribution. I would rather not manually update to a newer version
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
I am getting the same result as above, only now rclone never syncs, not even when called interactively (in addition to when called from crontab)
However I think I found the source of the problem: actually, that file modification time is not updated, even though the file has been modified by a Google Form, so rclone is correct in not syncing. (As it is often the case, the bug is google, and their policy of changing the way their applications work without notifying users).
I will keep you updated if I find more.
Thank you,
Giorgio
Since, as I found after posting, GoogleDrive actually does not update the time of the response spreadsheet of a Google Form when a new form is sent in, there is no error in rclone, and no possible solution for my problem.
An obvious workaround is to 'copy' instead of 'sync', or to just 'touch' the files you want to force syncing, if there are just a few.
I need to keep only one file up to date, so I inserted a 'rclone touch <that-form-response-file.xlsx>' before the sync job.