Use --skip-hash with least-privilege API key (CLI dup-check bug #21456)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user