Skip to content

Instantly share code, notes, and snippets.

View Ashex's full-sized avatar

Evelyn Osman Ashex

View GitHub Profile
@Ashex
Ashex / remove_dupes.py
Created February 22, 2025 13:25
Immich cleanup - Delete assets duplicated by original HEIC file then remove any other duplicates caused by external import
import requests
api_key = "foo"
headers = {
'Accept': 'application/json',
'x-api-key': api_key
}
BASE_URL = 'https://website.com/api'