Mir

joined 2 years ago
[–] Mir@programming.dev 1 points 1 year ago (1 children)

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

[–] Mir@programming.dev 1 points 1 year ago (2 children)

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

[–] Mir@programming.dev 2 points 1 year ago (1 children)

Thank you. First person to not advise me to use something other than immich for this. And thanks for the heads up about the CLI, can you share the upload script?

[–] Mir@programming.dev 1 points 1 year ago (4 children)

(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?

@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
[–] Mir@programming.dev 2 points 1 year ago (3 children)

can you recommend me something else?

[–] Mir@programming.dev 1 points 1 year ago

Oh that might be perfect. I will look into it, thank you!

[–] Mir@programming.dev 4 points 1 year ago

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

[–] Mir@programming.dev 1 points 1 year ago (3 children)

More or less yes. Except that the auto upload is limited I can't figure out why most of albums aren't showing

[–] Mir@programming.dev 1 points 1 year ago (7 children)

I want to use immich mostly for viewing

[–] Mir@programming.dev 2 points 1 year ago

I managed to get it to work finally, I disabled these Cache Assets, Block Common Exploits, Websockets Support.

[–] Mir@programming.dev 4 points 1 year ago (2 children)

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

[–] Mir@programming.dev 1 points 1 year ago

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.

view more: ‹ prev next ›