Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 73ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
i

immich

Recently created Least recently created Recently updated Least recently updated
anthony

anthony / Find orphaned photos in Immich

Last active 1 month ago bash docker immich shell

IDK why but some of my photos and videos removed from HDD but meta info still persists in DB. I made a script which restores some photos from another directory by original filenames

0 0 1
1 #!/bin/bash
2
3 srcPath='/mnt/Data/Фото/!_SORT/SamsungSort'
4 ownerId='b3f46eb5-81a6-4283-aade-d726823d7af4'
5
6 ########################################################
7
8 source .env || exit 10
9 libHostPath="$UPLOAD_LOCATION"
10 libContainerPath='/usr/src/app/upload'