RClone to Google Drive - how to detect file diffrence by md5?

Hi, recently I uploaded a file to my GDrive storage, now I need to upload it again as its content (but not creation date & size) has recently changed. But repeating of this command finds no changes resulting in no new file version uploaded to GDrive

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.2
- os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
- os/kernel: 10.0.19045.4529 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.3
- go/linking: static
- go/tags: cmount

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy C:/tmp/Prima.wmv  GoogleDrive-Prima:Prima.wmv  -vv --log-file=c:\tmp\rclone-to-gdrive-prima.log
[GoogleDrive-Prima]
type = drive
client_id = XXX
scope = drive
service_account_file = c:/rclone/rclone-acc-file.json
team_drive =
root_folder_id = XXX

A log from the command that you were trying to run with the -vv flag

2025/01/06 15:51:53 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "copy" "C:/tmp/Prima.wmv" "GoogleDrive-Prima:Prima.wmv" "-vv" "--log-file=c:\\tmp\\rclone-to-gdrive-prima.log"]
2025/01/06 15:51:53 DEBUG : Creating backend with remote "C:/tmp/Prima.wmv"
2025/01/06 15:51:53 DEBUG : Using config file from "C:\\Users\\jtena\\AppData\\Roaming\\rclone\\rclone.conf"
2025/01/06 15:51:53 DEBUG : fs cache: adding new entry for parent of "C:/tmp/Prima.wmv", "//?/C:/tmp"
2025/01/06 15:51:53 DEBUG : Creating backend with remote "GoogleDrive-Prima:Prima.wmv"
2025/01/06 15:51:54 DEBUG : Google drive root 'Prima.wmv': 'root_folder_id = 0AK3_WbishcR7******' - save this in the config to speed up startup
2025/01/06 15:51:55 DEBUG : Prima.wmv: Size and modification time the same (differ by 0s, within tolerance 1ms)
2025/01/06 15:51:55 DEBUG : Prima.wmv: Unchanged skipping
2025/01/06 15:51:55 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Elapsed time:         1.6s

2025/01/06 15:51:55 DEBUG : 6 go routines active

hi,

in almost all cases, rclone uses modification date, not creation date

might read about

  • --checksum
  • --no-check-dest
1 Like