You can probably use icloudpd [1] to consolidate that on just a Linux machine, as I'm (more or less) doing now. I'm saying more or less because we ran out of iCloud space, I still don't want to delte forever old photos from iCloud but I should probably do it.
Thanks, looks like I've already starred this project on github, but I can't remember why I'm not using it... I think maybe the auth token expires every few weeks and you need some manual intervention to get it working again.