3 ms·
To avoid future data lose, you can backup all your icloud photos locally. Checkout icloud_photos_downloader[1], they have a docker container that is drop-dead s
by mmh0000 4y ago
To avoid future data lose, you can backup all your icloud photos locally. Checkout icloud_photos_downloader[1], they have a docker container that is drop-dead simple to use. I run this[3] about once a month, I could probably automate it, but that feel like it'll take more time than it'll save[2].
[1] https://github.com/icloud-photos-downloader/icloud_photos_downloader https://github.com/icloud-photos-downloader/icloud_photos_do...
[2] https://xkcd.com/1319/ https://xkcd.com/1319/
[3]
#!/bin/bash
mkdir "$(pwd)"/{photos,cookies} 2> /dev/null
if [[ -z "${ICLOUD_PASSWORD}" ]]; then
exit 1
fi
podman container run -it --rm --name icloud \
-v $(pwd)/photos:/data \
-v $(pwd)/cookies:/cookies \
-e TZ=America/Boise \
icloudpd/icloudpd:latest \
icloudpd --directory /data \
--cookie-directory /cookies \
--folder-structure {:%Y/%Y-%m-%d} \
--username mysuperduper@username.com \
--password "${ICLOUD_PASSWORD}" \
--size original