What is the problem you are having with rclone?
When syncing to Google Photos "album" location, it creates hundreds of albums containing one photo each, instead of an album with all the photos in for each directory as I would expect. Some albums appear to contain the right number of albums, but I now have hundreds of erroneous albums, with no bulk-delete function available.
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-137-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Photos.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync ~/Backups/Exports photos:album --log-level DEBUG --log-file ~/rclone/photos.txt --tpslimit 1
My Exports directory is structured as follows:
tree | tail -n 100
# ...
βββ 2022-10-28 Blahblah
β βββ DSCF4644.jpeg
β βββ DSCF4646.jpeg
β βββ DSCF4650.jpeg
β βββ DSCF4695.jpeg
β βββ DSCF4697.jpeg
β βββ DSCF4727.jpeg
β βββ DSCF4731.jpeg
β βββ DSCF4738.jpeg
βββ 2022-11-03 Blahblah
β βββ DSCF4782.jpeg
β βββ DSCF4797.jpeg
β βββ DSCF4829.jpeg
β βββ DSCF4845.jpeg
βββ 2022-11-27 Blahblah
β βββ DSCF4882.jpeg
β βββ DSCF4891.jpeg
β βββ DSCF4893.jpeg
β βββ DSCF4899.jpeg
β βββ DSCF4900.jpeg
β βββ DSCF4903.jpeg
β βββ DSCF4906.jpeg
β βββ DSCF4918.jpeg
β βββ DSCF4951.jpeg
So I would expect each single directory to create one single album containing all the photos within that directory.
The rclone config contents with secrets removed.
rclone config show photos
[photos]
type = google photos
token = {"access_token":"xxx","refresh_token":"xxx","expiry":"2023-01-23T23:01:06.189769934Z"}
A log from the command with the -vv
flag
Logs.
I killed the rsync job here as it had already created 3 new albums (per watch 'rclone lsd photos:album | grep \{ | wc -l'
), and there's no easy way to mass-delete albums on Google Photos.