Skip to content

Delete photo/video after download successful#431

Merged
AndreyNikiforov merged 10 commits intoicloud-photos-downloader:masterfrom
MatrixDai:feature/delete-photo-after-download
Jan 23, 2023
Merged

Delete photo/video after download successful#431
AndreyNikiforov merged 10 commits intoicloud-photos-downloader:masterfrom
MatrixDai:feature/delete-photo-after-download

Conversation

@MatrixDai
Copy link
Copy Markdown
Contributor

@MatrixDai MatrixDai commented May 10, 2022

Added a new command line option --delete-after-download to allow user delete the photo right after download complete. The deleted items will moved to "Recent Deleted" system album.

The implementation reference from this gist.

Related discussions:
#368 #314 #124 #332

@newone757
Copy link
Copy Markdown

I downloaded all of my photos using the normal docker template in unraid, then I saw your changes and ran them locally on my windows machine, pointed at the same share as my unraid install -- it's working great! Finally, I can free up space in our shared iCloud account! Thanks

@seiry-apt
Copy link
Copy Markdown

cool!+1

@FinalTheory
Copy link
Copy Markdown

can we merge this change please?

@pawsie
Copy link
Copy Markdown

pawsie commented Sep 24, 2022

+1 Much needed feature. Can it be merged please?

@olegcarguy
Copy link
Copy Markdown

+1 Yes, can this feature be merged please? @Nasipuk

@AndreyNikiforov
Copy link
Copy Markdown
Collaborator

@MatrixDai do you mind rebasing your diff, please? Thanks for providing tests for new functionality.

@MatrixDai MatrixDai force-pushed the feature/delete-photo-after-download branch from 53bf831 to c3fb2d2 Compare January 20, 2023 00:26
@MatrixDai
Copy link
Copy Markdown
Contributor Author

@MatrixDai do you mind rebasing your diff, please? Thanks for providing tests for new functionality.

@AndreyNikiforov Rebased with the master branch.

@AndreyNikiforov
Copy link
Copy Markdown
Collaborator

@MatrixDai do you mind rebasing your diff, please? Thanks for providing tests for new functionality.

@AndreyNikiforov Rebased with the master branch.

Quality checks are failing ;-( Please fix those.

You can run these checks locally (scripts/lint & script/test after installing all dependencies of course)

@MatrixDai
Copy link
Copy Markdown
Contributor Author

Now, fixed lint and tests. @AndreyNikiforov
Sorry didn't check locally, as I have upgrade local python to 3.11, it seems like the local develop env require python 3.9 on macOS M1.

@AndreyNikiforov AndreyNikiforov merged commit 18efdfe into icloud-photos-downloader:master Jan 23, 2023
@AndreyNikiforov
Copy link
Copy Markdown
Collaborator

Now, fixed lint and tests. @AndreyNikiforov Sorry didn't check locally, as I have upgrade local python to 3.11, it seems like the local develop env require python 3.9 on macOS M1.

Yes, due to stale dependencies we have 3.9 as max supported version of Python now. You can run .devcontainer with 3.9 either locally or in Github Codespaces. Although containers are running Linux, Quality checks Github actions run on MacOs and Windows as well.

rhoopr referenced this pull request in rhoopr/kei Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants