What is the problem you are having with rclone?
Rclone is not overwriting files on remote when their size is different with the flag --size-only
. Because the origin is Google Photos, I tried adding the flag --gphotos-read-size
and the process takes ages longer because of additional transactions, but it has the exact same outcome.
It says it would transfer 6 files only when I know there are more! I first uploaded lower resolution version of the files as I uploaded them to Google Photos and triggered sync before they got processed. Now the videos are fully processed and I want to trigger sync again but rclone won't transfer more than the 6 new files I uploaded. It's not taking the older uploaded videos with higher resolution now.
What is your rclone version (output from rclone version
)
rclone v1.51.0
- os/arch: linux/amd64
- go version: go1.13.7
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Debian 10 x64
Which cloud storage system are you using? (eg Google Drive)
Transferring from Google Photos to OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
First I tried with:
rclone copy "gphotos:album/Family" "onedrive1:PMS/Family" -v --size-only
Then with:
rclone copy "gphotos:album/Family" "onedrive1:PMS/Family" -v --size-only --gphotos-read-size
The rclone config contents with secrets removed.
[gphotos]
type = google photos
token = {"access_token":"TOKEN HERE"}
[gdrive1]
type = drive
scope = drive
token = {"access_token":"TOKEN HERE"}
root_folder_id = ROOT FOLDER ID HERE
[onedrive1]
type = onedrive
token = {"access_token":"TOKEN HERE"}
drive_id = DEVICE ID HERE
drive_type = business
client_id = CLIENT ID HERE
client_secret = CLIENT SECRET HERE
A log from the command with the -vv
flag
2020/06/11 12:16:56 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "copy" "gphotos:album/Family" "onedrive1:PMS/Family" "-vv" "--size-only" "--dry-run" "--log-file=/home/plex/log.log"]
2020/06/11 12:16:56 DEBUG : Using config file from "/home/plex/.config/rclone/rclone.conf"
2020/06/11 12:16:59 DEBUG : Google Photos path "album/Family": List: dir=""
2020/06/11 12:17:10 DEBUG : Google Photos path "album/Family": >List: err=<nil>
[...] MORE STUFF HERE
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: Size:
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: >Size:
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: Size:
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: >Size:
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: Size:
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: >Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: >Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: >Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: >Size:
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: Sizes identical
2020/06/11 12:17:10 DEBUG : grandma with the little boy.mp4: Unchanged skipping
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: Size:
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: >Size:
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: Size:
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: >Size:
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: Size:
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: >Size:
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: Sizes identical
2020/06/11 12:17:10 DEBUG : baby grabbing carla finger.mp4: Unchanged skipping
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: Sizes identical
2020/06/11 12:17:10 DEBUG : doggo running wild.mp4: Unchanged skipping
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: Size:
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: >Size:
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: Size:
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: >Size:
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: Size:
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: >Size:
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: Sizes identical
2020/06/11 12:17:10 DEBUG : julia cycling with max.mp4: Unchanged skipping
2020/06/11 12:17:10 INFO : One drive root 'PMS/Family': Waiting for transfers to finish
2020/06/11 12:17:10 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 1225 / 1225, 100%
Transferred: 6 / 6, 100%
Elapsed time: 0.0s
2020/06/11 12:17:10 DEBUG : 7 go routines active
2020/06/11 12:17:10 DEBUG : rclone: Version "v1.51.0" finishing with parameters ["rclone" "copy" "gphotos:album/Family" "onedrive1:PMS/Family" "-vv" "--size-only" "--dry-run" "--log-file=/home/plex/log.log"]