icloud-photos-downloader / icloud_photos_downloader

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

A question about using ‘--delete-after-download’ to delete “all photos”, “hide”, and “recently deleted” #992

Open 14278358 opened 2 weeks ago

14278358 commented 2 weeks ago

‘--delete-after-download’ can delete “all photos” and “hide” after downloading, and can also download photos in “recently deleted”, but cannot delete “recently deleted”

Then I based on the feedback from https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/931/commits/66f084ffb2befea81e542fbaecdf0d9c6e78e7ff Modify "fields": {"isDeleted": {"value": 1}} to "fields": {"isExpunged": {"value": 1}}

As a result, using --delete-after-download can delete the photos in "Recently Deleted" after downloading, and can also download the photos in "All Photos" and "Hidden", but cannot delete the photos in "All Photos" and "Hidden" photo

I don't understand why?

AndreyNikiforov commented 2 weeks ago

What are you trying to achieve?