I would like new images to be uploaded to Immich from my phone and deleted after 30 days automatically, so I was thinking about this flow:
I will Sync files to the server using Syncthing
I will Copy files from the Synced folder to an Immich Consume folder, (not sure how to copy only new files (maybe use created date)). Then delete images that are older than 30 days which will remove them from my phone.
I will upload to Immich using Immich CLI (?) which will use the delete after upload flag.
Basically:
(1)
Camera, Screenshots, etc =Syncthing=> SyncthingImageConsume/{Folder}
(2)
{Script on SyncthingImageConsume}
SyncthingImageConsume/{Folder} =CopyNewFiles=> ImmichConsume/{Folder}
Then delete older than 30 days.
(3)
{Script on ImmichConsume}
Upload to immich and then delete
would this work? and is there a better way to do it? any tips?
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Feels like you want a regular Immich auto upload and a custom script that deletes old images from your phone. I can’t help with that script, but maybe also I missunderstood what is your goal
More or less yes. Except that the auto upload is limited I can’t figure out why most of albums aren’t showing
Don’t expect albums in immich after upload. Immich will just put everything in timeline (by default) and you should make albums manually.
Also, make sure you have exactly the same app version as server
I just noticed something else that is mildly annoying, after I move them to album I have to run the template migration job to move to the correct folder.
I have albums generate automatically… see my posts above