Esca

joined 1 year ago
[–] Esca@lemmy.one 1 points 4 months ago (1 children)

The --delete flag is already in there so it should empty the camera_backup folder, but the robocopy will copy every single photo back into it the next run.

[–] Esca@lemmy.one 1 points 4 months ago* (last edited 4 months ago) (3 children)

Ah, I am not familiar at all with Windows, so I honestly wouldn't know. Does the Immich CLI even work on Windows?

But going off by the comments and the parts I understand, I guess it could kinda work, assuming that the arguments are all correct. Although, it will try to upload all photos every time, regardless if Immich already has them or not. Which is not ideal but I believe Immich will filter out duplicated photos. But it's worth checking if it's indeed smart enough to do that.

For the Immich command it will upload the files to an album called "Camera_Backup". Not sure if that's what you want. If not, then remove the -a flag. If you want to upload it to a specific album, then instead add '-A albumname' (edit: I realize I might be wrong here. If you have multiple folders in Syncthing you're backing up it will work differently)

[–] Esca@lemmy.one 1 points 4 months ago (5 children)

I understand you. I also don't use the auto upload feature as it's creating more problems for me to solve than what it fixes. I already had Syncthing running anyway so I currently use that combo (except I manually sort through my photos on a semi-weekly basis before I upload it to Immich).

If you want, I can cook up a little Python script you could stick into Cron to do all the tasks you described. I haven't worked with the Immich CLI yet but I'm sure I can figure it out. Send me a message if you're interested. I will probably use it myself as well.

[–] Esca@lemmy.one 8 points 5 months ago (1 children)

Yeah but instead of a function you just make it an alias.

[–] Esca@lemmy.one 18 points 5 months ago (6 children)

Isn't this the same effect as just running 'sudo !!' ?

[–] Esca@lemmy.one 6 points 1 year ago (4 children)

The first time it paused my YouTube video inside Firefox when a call came in on my phone, it blew my mind. And then when the call ended, it just casually resumed the video. I love it. That, the clipboard syncing and easy sharing of files between devices make it absolutely awesome to have.