What is the problem you are having with rclone?
I cant seem to control sync to Google Photos - two apparent issues
- A Change to the Source File is not causing the file to be uploaded on next Sync (nothing to Transfer...)
- When -I ( transfer all files) is used the result is Duplicates in GP (and Dedupe will not remove them as names are different...)
If i am missing some setup - or the way it should work i am sorry - happy to adjust/redo
Hope the info below gives enough details
In summary my objective is to be able to Sync a folder structure to Google Photos with the occational new image or update Exif data within existing images (ie small text change...)
Any help appreciated
What is your rclone version (output from rclone version
)
rclone v1.53.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Synology DSM 6.2 64 Bit
Which cloud storage system are you using? (eg Google Drive)
Google Phots
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" RawPhotosG:album -P -v -I
The rclone config contents with secrets removed.
Tony.Watkins@NAS49:~$ rclone config show RawPhotosG
--------------------
[RawPhotosG]
type = google photos
token = {"access_token":"","token_type":"Bearer","refresh_token":"","expiry":"2020-12-26T12:28:33.388310213+08:00"}
A log from the command with the -vv
flag
I have included the logs from the various commands that i think demonstrates the challenge. In summary
- Delete all items from GP account
- Sync one Image
- Edit image
- re-do Sync - observe no transfer
- force Update - observe duplicates
Tony.Watkins@NAS49:~$
Tony.Watkins@NAS49:~$ Rem - Delete all items from GP (Images & Albums)
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ rclone sync "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" RawPhotosG:album -P -vv
2020/12/26 12:40:22 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "sync" "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" "RawPhotosG:album" "-P" "-vv"]
2020/12/26 12:40:22 DEBUG : Creating backend with remote "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum"
2020/12/26 12:40:22 DEBUG : Using config file from "/var/services/homes/Tony.Watkins/.config/rclone/rclone.conf"
2020/12/26 12:40:22 DEBUG : Creating backend with remote "RawPhotosG:album"
2020-12-26 12:40:22 DEBUG : Google Photos path "album": List: dir=""
2020-12-26 12:40:23 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:40:23 DEBUG : Google Photos path "album": Waiting for checks to finish
2020-12-26 12:40:23 DEBUG : Google Photos path "album": Waiting for transfers to finish
2020-12-26 12:40:23 DEBUG : Google Photos path "album": Put: src=Pics1/DSC10840.JPG
2020-12-26 12:40:23 DEBUG : Pics1/DSC10840.JPG: Update: src=Pics1/DSC10840.JPG
2020-12-26 12:40:32 DEBUG : Pics1/DSC10840.JPG: >Update: err=<nil>
2020-12-26 12:40:32 DEBUG : Google Photos path "album": >Put:
2020-12-26 12:40:32 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:40:32 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:40:32 INFO : Pics1/DSC10840.JPG: Copied (new)
2020-12-26 12:40:32 DEBUG : Waiting for deletions to finish
Transferred: 9.316M / 9.316 MBytes, 100%, 1003.482 kBytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 10.3s
2020/12/26 12:40:32 INFO :
Transferred: 9.316M / 9.316 MBytes, 100%, 1003.482 kBytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 10.3s
2020/12/26 12:40:32 DEBUG : 3 go routines active
Tony.Watkins@NAS49:~$ Rem - result - image in Album - correct - then Edit EXIF Description (Change 12:41:30) confirm Date on file has changed (12:41:30 PM)
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ rclone sync "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" RawPhotosG:album -P -vv
2020/12/26 12:45:28 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "sync" "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" "RawPhotosG:album" "-P" "-vv"]
2020/12/26 12:45:28 DEBUG : Creating backend with remote "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum"
2020/12/26 12:45:28 DEBUG : Using config file from "/var/services/homes/Tony.Watkins/.config/rclone/rclone.conf"
2020/12/26 12:45:28 DEBUG : Creating backend with remote "RawPhotosG:album"
2020-12-26 12:45:28 DEBUG : Google Photos path "album": List: dir=""
2020-12-26 12:45:30 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:45:30 DEBUG : Google Photos path "album": List: dir="Pics1"
2020-12-26 12:45:31 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:45:31 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:45:31 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:45:31 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:45:31 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:45:31 DEBUG : Google Photos path "album": Waiting for checks to finish
2020-12-26 12:45:31 DEBUG : Pics1/DSC10840.JPG: Sizes identical
2020-12-26 12:45:31 DEBUG : Pics1/DSC10840.JPG: Unchanged skipping
2020-12-26 12:45:31 DEBUG : Google Photos path "album": Waiting for transfers to finish
2020-12-26 12:45:31 DEBUG : Waiting for deletions to finish
2020-12-26 12:45:31 INFO : There was nothing to transfer
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 1 / 1, 100%
Elapsed time: 2.8s
2020/12/26 12:45:31 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 1 / 1, 100%
Elapsed time: 2.8s
2020/12/26 12:45:31 DEBUG : 5 go routines active
Tony.Watkins@NAS49:~$ Rem - conlusion is EXIF change is not effecting size on Disk - so need to force Update with -I ()
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ Rem - result - image in Album - correct - then Edit EXIF Description (Change 12:46:45) confirm Date on file has changed (12:46:45 PM) diskspace static at 9.31 MB (9,768,960 bytes)
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ rclone sync "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" RawPhotosG:album -P -vv -I
2020/12/26 12:50:36 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "sync" "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" "RawPhotosG:album" "-P" "-vv" "-I"]
2020/12/26 12:50:36 DEBUG : Creating backend with remote "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum"
2020/12/26 12:50:36 DEBUG : Using config file from "/var/services/homes/Tony.Watkins/.config/rclone/rclone.conf"
2020/12/26 12:50:36 DEBUG : Creating backend with remote "RawPhotosG:album"
2020-12-26 12:50:36 DEBUG : Google Photos path "album": List: dir=""
2020-12-26 12:50:38 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:50:38 DEBUG : Google Photos path "album": List: dir="Pics1"
2020-12-26 12:50:40 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:50:40 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:50:40 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:50:40 DEBUG : Pics1/DSC10840.JPG: Transferring unconditionally as --ignore-times is in use
2020-12-26 12:50:40 DEBUG : Pics1/DSC10840.JPG: Update: src=Pics1/DSC10840.JPG
2020-12-26 12:50:40 DEBUG : Google Photos path "album": Waiting for checks to finish
2020-12-26 12:50:40 DEBUG : Google Photos path "album": Waiting for transfers to finish
2020-12-26 12:50:47 DEBUG : Pics1/DSC10840.JPG: >Update: err=<nil>
2020-12-26 12:50:47 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:50:47 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:50:47 INFO : Pics1/DSC10840.JPG: Copied (replaced existing)
2020-12-26 12:50:47 DEBUG : Waiting for deletions to finish
Transferred: 9.316M / 9.316 MBytes, 100%, 1.293 MBytes/s, ETA 0s
Checks: 1 / 1, 100%
Transferred: 1 / 1, 100%
Elapsed time: 11.1s
2020/12/26 12:50:47 INFO :
Transferred: 9.316M / 9.316 MBytes, 100%, 1.293 MBytes/s, ETA 0s
Checks: 1 / 1, 100%
Transferred: 1 / 1, 100%
Elapsed time: 11.1s
2020/12/26 12:50:47 DEBUG : 3 go routines active
Tony.Watkins@NAS49:~$ rclone lsl RawPhotosG:album
-1 2016-05-17 09:20:36.000000000 Pics1/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG
-1 2016-05-17 09:20:36.000000000 Pics1/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG
Tony.Watkins@NAS49:~$ Rem - now have duplicates in GP ()
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ rclone sync "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" RawPhotosG:album -P -vv -I
2020/12/26 12:52:55 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "sync" "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" "RawPhotosG:album" "-P" "-vv" "-I"]
2020/12/26 12:52:55 DEBUG : Creating backend with remote "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum"
2020/12/26 12:52:55 DEBUG : Using config file from "/var/services/homes/Tony.Watkins/.config/rclone/rclone.conf"
2020/12/26 12:52:55 DEBUG : Creating backend with remote "RawPhotosG:album"
2020-12-26 12:52:55 DEBUG : Google Photos path "album": List: dir=""
2020-12-26 12:52:56 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:52:56 DEBUG : Google Photos path "album": List: dir="Pics1"
2020-12-26 12:52:57 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:52:57 DEBUG : Pics1/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG: Size:
2020-12-26 12:52:57 DEBUG : Pics1/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG: >Size:
2020-12-26 12:52:57 DEBUG : Pics1/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG: Size:
2020-12-26 12:52:57 DEBUG : Pics1/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG: >Size:
2020-12-26 12:52:57 DEBUG : Google Photos path "album": Put: src=Pics1/DSC10840.JPG
2020-12-26 12:52:57 DEBUG : Pics1/DSC10840.JPG: Update: src=Pics1/DSC10840.JPG
2020-12-26 12:52:57 DEBUG : Google Photos path "album": Waiting for checks to finish
2020-12-26 12:52:57 DEBUG : Google Photos path "album": Waiting for transfers to finish
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840.JPG: >Update: err=<nil>
2020-12-26 12:53:05 DEBUG : Google Photos path "album": >Put:
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:53:05 INFO : Pics1/DSC10840.JPG: Copied (new)
2020-12-26 12:53:05 DEBUG : Waiting for deletions to finish
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG: Size:
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG: >Size:
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG: Size:
2020-12-26 12:53:05 DEBUG : Pics1/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG: >Size:
2020-12-26 12:53:07 INFO : Pics1/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG: Deleted
2020-12-26 12:53:08 INFO : Pics1/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG: Deleted
Transferred: 9.316M / 9.316 MBytes, 100%, 838.973 kBytes/s, ETA 0s
Checks: 2 / 2, 100%
Deleted: 2
Transferred: 1 / 1, 100%
Elapsed time: 13.0s
2020/12/26 12:53:08 INFO :
Transferred: 9.316M / 9.316 MBytes, 100%, 838.973 kBytes/s, ETA 0s
Checks: 2 / 2, 100%
Deleted: 2
Transferred: 1 / 1, 100%
Elapsed time: 13.0s
2020/12/26 12:53:08 DEBUG : 4 go routines active
Tony.Watkins@NAS49:~$ Rem - still have duplicate in GP (ie via web page...)
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ rclone lsl RawPhotosG:album
Tony.Watkins@NAS49:~$ rclone lsl RawPhotosG:album
Tony.Watkins@NAS49:~$ rclone lsl RawPhotosG:
2020/12/26 12:55:19 ERROR : upload: error listing: directory not found
-1 2016-05-17 09:20:36.000000000 media/all/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG
-1 2016-05-17 09:20:36.000000000 media/all/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG
-1 2016-05-17 09:20:36.000000000 media/by-year/2016/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG
-1 2016-05-17 09:20:36.000000000 media/by-year/2016/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG
^C
Tony.Watkins@NAS49:~$ Rem - rclone seemed confused - lsl not returning and error on 3rd atempt - had to ctrlC () - but have no images in :album/Pics1 - but duplicates in "Photos"... all strange
-sh: syntax error near unexpected token `('
Tony.Watkins@NAS49:~$ rclone sync "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" RawPhotosG:album -P -vv -I
2020/12/26 12:58:40 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "sync" "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum" "RawPhotosG:album" "-P" "-vv" "-I"]
2020/12/26 12:58:40 DEBUG : Creating backend with remote "/volume2/Files/AllOurMedia/GP_Checks/GPAlbum"
2020/12/26 12:58:40 DEBUG : Using config file from "/var/services/homes/Tony.Watkins/.config/rclone/rclone.conf"
2020/12/26 12:58:40 DEBUG : Creating backend with remote "RawPhotosG:album"
2020-12-26 12:58:40 DEBUG : Google Photos path "album": List: dir=""
2020-12-26 12:58:43 DEBUG : Google Photos path "album": Error reading media count: strconv.ParseInt: parsing "": invalid syntax
2020-12-26 12:58:43 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:58:43 DEBUG : Google Photos path "album": List: dir="Pics1"
2020-12-26 12:58:44 DEBUG : Google Photos path "album": >List: err=<nil>
2020-12-26 12:58:44 DEBUG : Google Photos path "album": Waiting for checks to finish
2020-12-26 12:58:44 DEBUG : Google Photos path "album": Waiting for transfers to finish
2020-12-26 12:58:44 DEBUG : Google Photos path "album": Put: src=Pics1/DSC10840.JPG
2020-12-26 12:58:44 DEBUG : Pics1/DSC10840.JPG: Update: src=Pics1/DSC10840.JPG
2020-12-26 12:58:54 DEBUG : Pics1/DSC10840.JPG: >Update: err=<nil>
2020-12-26 12:58:54 DEBUG : Google Photos path "album": >Put:
2020-12-26 12:58:54 DEBUG : Pics1/DSC10840.JPG: Size:
2020-12-26 12:58:54 DEBUG : Pics1/DSC10840.JPG: >Size:
2020-12-26 12:58:54 INFO : Pics1/DSC10840.JPG: Copied (new)
2020-12-26 12:58:54 DEBUG : Waiting for deletions to finish
Transferred: 9.316M / 9.316 MBytes, 100%, 1018.152 kBytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 13.2s
2020/12/26 12:58:54 INFO :
Transferred: 9.316M / 9.316 MBytes, 100%, 1018.152 kBytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 13.2s
2020/12/26 12:58:54 DEBUG : 4 go routines active
Tony.Watkins@NAS49:~$ Rem - on Web two pics PHotos and one in album:Pics1
-sh: Rem: command not found
Tony.Watkins@NAS49:~$ rclone lsl RawPhotosG:album
-1 2016-05-17 09:20:36.000000000 Pics1/DSC10840.JPG
Tony.Watkins@NAS49:~$ rclone lsl RawPhotosG:
2020/12/26 13:00:31 ERROR : upload: error listing: directory not found
-1 2016-05-17 09:20:36.000000000 media/by-year/2016/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG
-1 2016-05-17 09:20:36.000000000 media/by-year/2016/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG
-1 2016-05-17 09:20:36.000000000 album/Pics1/DSC10840.JPG
-1 2016-05-17 09:20:36.000000000 media/all/DSC10840 {AP0gtnfTQNSpaSW84v54meMLxhoGTZDQ-KEvgxYvr0tqD8WOCQExdneSy9CoQuBdea0sw1TKLjnDW-35_n2Eenc2cdiHhO_s2g}.JPG
-1 2016-05-17 09:20:36.000000000 media/all/DSC10840 {AP0gtnfdbivquguzHzQmovSr4NbkkaXMs3jBTFPtisEefq37Z3GUKt4g-dhi33t87wj8AKtb2jIFm4l9jxuwZoxXmYWOaEmodA}.JPG
^C
Tony.Watkins@NAS49:~$