From 5f8d6ce9addf03d371ef5fa1f5153b9b7a219530 Mon Sep 17 00:00:00 2001 From: Sam Rolfe Date: Fri, 7 Aug 2026 21:09:36 +1000 Subject: [PATCH] Use --skip-hash with least-privilege API key (CLI dup-check bug #21456) --- immich_import.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/immich_import.py b/immich_import.py index 516cef9..69eb889 100644 --- a/immich_import.py +++ b/immich_import.py @@ -50,7 +50,9 @@ def immich_upload(src_dir: str, album: str | None = None, dry_run: bool = False) Recursive, album-per-folder optional, dry-run supported. Immich dedups by checksum. """ - cmd = [str(CLI), "upload", src_dir, "--recursive"] + cmd = [str(CLI), "upload", src_dir, "--recursive", "--skip-hash"] + # --skip-hash: with a least-privilege API key the CLI's dup-check is broken + # (immich-app issue #21456); our fingerprint DB does dedup pre-upload. if album: cmd += ["--album-name", album] if dry_run: