Add immich-sync ansible role for photo library sync #63
1 changed files with 5 additions and 5 deletions
Fix osxphotos export options
osxphotos exports both original and edited versions by default. Use --skip-edited and --skip-original-if-edited to control behavior instead of non-existent --export-edited and --export-originals flags. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
commit
e11e84cb20
|
|
@ -55,7 +55,7 @@ log "Starting photo export from Photos Library to $EXPORT_DIR"
|
|||
# --directory: export directory structure by date
|
||||
# --update: only export new/changed photos (incremental)
|
||||
# --exiftool: write metadata to EXIF tags
|
||||
# --edited-suffix _edited: suffix for edited versions
|
||||
# --edited-suffix: suffix for edited versions (default exports both original and edited)
|
||||
# --download-missing: download from iCloud if needed
|
||||
OSXPHOTOS_ARGS=(
|
||||
export "$EXPORT_DIR"
|
||||
|
|
@ -65,12 +65,12 @@ OSXPHOTOS_ARGS=(
|
|||
{% endif %}
|
||||
--exiftool
|
||||
--download-missing
|
||||
{% if immich_sync_export_edited %}
|
||||
--export-edited
|
||||
--edited-suffix "_edited"
|
||||
{% if not immich_sync_export_edited %}
|
||||
--skip-edited
|
||||
{% endif %}
|
||||
{% if immich_sync_export_originals %}
|
||||
--export-originals
|
||||
{% if not immich_sync_export_originals %}
|
||||
--skip-original-if-edited
|
||||
{% endif %}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue