Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MI
Posts
7
Comments
90
Joined
2 yr. ago

  • Thank you so much, perfect explanation.

    Do you keep the stuff on your phone then? how does syncthing handles deleting if you're deleting? did you set up the folder as send only?

    I'm working on setting it up for me to do so:

    1. Manually move some pics on my phone to "Inbox" folder (To be sorted in albums later)
    2. Syncthing will automatically sync "Inbox" and "Camera" folders to "Syncthing Consume"
    3. A job to copy from "Syncthing Consume" to "Immich Consume"
    4. Immich Go will move everything to Immich
    5. Anything in the Inbox Album will get sorted to different albums at some point
    6. Eventually anything that isn't synced will be removed from my phone
  • Can you tell me about the syncthing set up, how do you have the folders set up to sync?

    for instance I have DCIM with folders inside it, do you sync the whole folder or for each folder inside it like "Camera, Screenshot" etc?

  • Although, it will try to upload all photos every time

    I will use the argument which makes it delete after upload, this way if it wasn't deleted then it wasn't uploaded and needs to be uploaded, hopefully the CLI is smart to do so.

    I want it to use the folder name as album name, I was hoping that it would do the same for nested folders

  • (except I manually sort through my photos on a semi-weekly basis before I upload it to Immich).

    I think that would be a better approach if I weren't very lazy, I think even after the initial run I could do that since I don't take lots of pictures but I was thinking about a fire and forget sort of thing.

    If you want, I can cook up a little Python script you could stick into Cron to do all the tasks you described.

    Thank you so much, I asked ChatGPT and it generated the bat file below (since I'm using Windows) do you think this would work?

     bash
        
    @echo off
    REM Change directory to your photos folder
    cd /d "C:\path\to\your\photos\folder"
    
    REM Sync files to backup folder
    robocopy . "C:\path\to\your\Camera_Backup" /mir /xo
    
    REM Delete files older than 15 days
    forfiles /p "C:\path\to\your\photos\folder" /s /m *.* /d -15 /c "cmd /c if @isdir==FALSE del @file"
    
    REM Upload assets using immich cli
    immich upload "C:\path\to\your\Camera_Backup" -r -a --delete
    
      
  • 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

  • I have it set to 0.0.0.0, and I can access it from another pc using the ip:port address. But when I try to access using the domain name it shows the login page but I can't login, it just refresh the page and I can see the error above in the logs.

  • Sorry it's just 9101, I updated it.

    In GUI you can change the port of the GUI and that's what I did, so I can right now actually access it using 192.168.1.2:9101 and it works. Do you have NPM configured in anyway other than pointing? have you made any changes in Syncthing itself to give it a domain name or an address?