-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archiv mode #952
Comments
IIUC Your goal is to reduce iCloud storage used by photos. If you are trying to solve that, if would be beneficial a) to list criteria to compare solutions b) to look at a number of possible options and c) to compare options using criteria. There were some ideas posted at this repo already (issues and/or discussions) and you can use them for your analysis. IIRC there were edge cases identified as well, e.g. keeping favorites on iCloud regardless of their date. Regarding your current workaround: I do not understand how you reach the goal with |
Yes + moving photos to my archive Regarding a)-c): I will check older issues and try to collect related issues in this issue
I use that icloudpd by default creates a folder structure according to the date (EXIF:CreateDate I assume) of the downloaded images, e.g. Now I refer to the note in the Docs under Operation Modes
If I move/remove a folder from the my download folder (icloud-pictures) and run
In conclusion:
Fair point, though that can be a little tedious depending on the number of photos. I am aiming for a bash script solution that I can run by hand from time to time e.g. the skript #!/bin/bash
# Create folders
mkdir -p icloud-pictures
mkdir -p icloud-archive
# Download all images
icloudpd --directory icloud-pictures --username [email protected]
# Move a certain folder to archive
folder=$1
mv "icloud-picture/${folder}" icloud-archive
# icloudpd in move mode, to delete photos from iCloud
icloudpd --directory icloud-pictures --username [email protected] --delete-after-download
# remove downloaded photos (as these are already in archive
rm -r mv "icloud-picture/${folder}" Now I run
|
Wow, nice trick with removing local folder and then re-running |
Summary
New CLI option
--archive TARGET-FILES ARCHIV-FOLDER
to archive a folder/images and delete them from iCloudContext
I have icloudpd running as a service in copy mode with
--auto-delete --watch-with-interval 3600
.From time to time I want to archive old photons to free up some space on iCloud.
Lets say I want to archive all photons from 2022, my current workaround is:
mv icloud-images/2022 icloud-archive/
--delete-after-download
3.1. Downloads all images from 2022 again and
3.2. Removes them (moves them to deleted album) on iCloud
rm -r icloud-images/2022
With my current solution all images from 2022 are downloaded again, just to be deleted afterwards
Idea
Put this in a CLI mode and remove the need to Download the images again:
The text was updated successfully, but these errors were encountered: