A command-line tool to download all your iCloud photos.
npx --yes icloudpd --directory /data --username [email protected] --watch-with-interval 3600
Synchronization logic can be adjusted with command-line parameters. Run the following to get full list:
npx --yes icloudpd --help
You can get NodeJS with accompanying npm from Official site.
See Project page for more details.