icloud-photos-downloader / icloud_photos_downloader

A command-line tool to download photos from iCloud
MIT License
6.92k stars 556 forks source link

Re-download on exif changes #950

Open Jakob-SD opened 2 months ago

Jakob-SD commented 2 months ago

Hi there 👋

I'm having trouble getting icloudpd to pickup on exif changes made to the photos. If I change keywords (as an example) the photo is not downloaded again with the changes. Do I need to add a flag or is the feature not available?

I run the app with the command

/var/services/homes/***/icloudpd-venv/bin/python /var/services/homes/***/icloudpd-venv/bin/icloudpd -d "/volume1/Media/Pictures/" -u *** --auto-delete --no-progress-bar --threads-num 3 --log-level info --skip-live-photos --skip-videos

TIA 🙏

AndreyNikiforov commented 2 months ago

Photos are downloaded only once - icloudpd is made to be executed many times against local collection and to bring only changes.

Caveat: there may be an edge case when a photo updated on icloud will appear on your local storage as a separate image. You may need to experiment with --size adjusted and --file-match-policy name-size-dedup-with-suffix to test/catch that edge case.