icloud-photos-downloader / icloud_photos_downloader

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

Possible to delete old photos after download (by X number of days) #982

Open Eagle248 opened 4 weeks ago

Eagle248 commented 4 weeks ago

Any possibility to add functionality to auto delete old pictures from the iCloud after successful download?

1) As iCloud storage is expensive I was just wondering if icloud_photos_downloader can auto delete old pictures which are older than example 120 days. By this way iCloud storage is always available and instead of deleting all the icloud pictures after a download, only last X number of days, pictures will be deleted.

2) With current functionality of auto_delete, deleting photos from icloud, does it delete those pictures from iphone as well?

Thank you for looking into this.

AndreyNikiforov commented 4 weeks ago

Any possibility to add functionality to auto delete old pictures from the iCloud after successful download?

  1. As iCloud storage is expensive I was just wondering if icloud_photos_downloader can auto delete old pictures which are older than example 120 days. By this way iCloud storage is always available and instead of deleting all the icloud pictures after a download, only last X number of days, pictures will be deleted.

There has been a number of requests to delete old pictures. Ideas I remember:

Hope, we'll have these eventually.

  1. With current functionality of auto_delete, deleting photos from icloud, does it delete those pictures from iphone as well?

If icloud is synced to idevices, then deleting asset in icloud (with icloudpd or through icloud.com) will remove that image from all devices. Syncing enables pictures from idevices to be auto-uploaded into icloud in the first place, so I assume everybody who is using icloudpd is using syncing (I cannot think of any other config/flow).

Eagle248 commented 3 weeks ago

limit by interval from now (e.g. older than X days) - would have been easier method and hopefully, this gets implemented.