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?
Yeah this will be very tricky, I’m thinking if I got over the initial push to Immich, I just delete manually from my phone when I see things have already moved to Immich and I don’t need it anymore.
I will do that to ensure I’ve backed everything up somewhere in case an Immich Failure.