Fix remote time stamps where modified time is null (google Drive)

I solved a major issue with help a few days ago, but I have an issue where files uploaded to a remote in GDrive were created with an invalid modtime, so when I try to sync to a local location, they are re-downloaded

 Modification times differ by 464746h37m31s: 1970-01-01 00:00:00 +0000 UTC, 2023-01-07 01:37:31 -0900 AKST

Is there a way to fix these? I'm imagining I can use "rclone touch", but I'm not sure how to get the modtime from rclone so I can parse these broken files

If you do a copy the other way round from local ->drive then rclone should check the checksums and if they match update the modtime.

Try it on a single file to see if it is going to work.

rclone copyto -vv /path/to/file.bin remote:path/to/file.bin

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