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:

  1. I will Sync files to the server using Syncthing

  2. 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.

  3. 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?

  • MirOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    I don’t want to manually upload pictures, I want new photos to be uploaded to Immich automatically and deleted from my phone after 30 days.

    Also the Immich backup on android is very limited, I can’t find all folders in the list it’s giving me

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 months ago

      Why not file a bug report when it does not find all your photos?

      Also may file a feature request to delete photos after set period from your device via immich?

      • MirOP
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 months ago

        I will make sure that this doesn’t exist first before requesting a feature, thanks for the tip