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?

  • Shimitar@feddit.it
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Why such a mess? Either use immich with its upload or use syncthing (I use the latter).

    Immich sucks in providing folder based albums, but excells in phone photo backup and sync!

          • Shimitar@feddit.it
            link
            fedilink
            English
            arrow-up
            5
            ·
            6 months ago

            There are many.

            Personally I use both PiGallery2 (great folder view, super fast) and HomeGallery (innovative browsing approach, modern looks).

            They will both work with your existent file/folder structure and will update as you add or remove photos.

            • Mir@programming.devOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 months ago

              Thank you for the suggestion, they seem to be readonly, I was hoping I could delete/rename photos using them.

      • rambos@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        You can use external libraries in immich. You just point to any folder on your disk and you can see everything, but can’t edit files. Timeline, maps, face recognition, search,…everything works and you can still keep folder organized images.

        Personally I use both. Auto upload everything from my phone (camera, screenshots, etc) and also using external library as folder structured pictures from nextcloud. It doesn’t create albums automatically tho