Skip to content

Instantly share code, notes, and snippets.

@2q2code
2q2code / heic_dup_keep.py
Created February 14, 2025 01:33
Python script that removes non-HEIC duplicates of HEIC files from immich
#!/usr/bin/env python3
import sys
import json
import argparse
import requests
# PREREQUISITES:
# - python 3 of some variety (I used 3.12.7)
# - python venv module (if using a virtual environment as described below)
# - this script file