HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

immich-go — Immich-Go is an open-source tool designed to streamline uploading large photo collections to your se

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandimmich-gosourceimmichdesignedcliopentool

Problem

How to use the immich-go command: Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server. See also: immich. More information: <https://github.com/simulot/immich-go>.

Solution

immich-go — Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server. See also: immich. More information: <https://github.com/simulot/immich-go>.

Upload a Google Photos takeout file to Immich server:
immich-go -server={{server_url}} -key={{server_key}} upload {{path/to/takeout_file.zip}}


Import photos captured on June 2019, while auto-generating albums:
immich-go -server={{server_url}} -key={{server_key}} upload -create-albums -google-photos -date={{2019-06}} {{path/to/takeout_file.zip}}


Upload a takeout file using server and key from a configuration file:
immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{path/to/takeout_file.zip}}


Examine Immich server content, remove less quality images, and preserve albums:
immich-go -server={{server_url}} -key={{server_key}} duplicate -yes


Delete all albums created with the pattern "YYYY-MM-DD":
immich-go -server={{server_url}} -key={{server_key}} tool album delete {{\d{4}-\d{2}-\d{2}}}

Code Snippets

Upload a Google Photos takeout file to Immich server

immich-go -server={{server_url}} -key={{server_key}} upload {{path/to/takeout_file.zip}}

Import photos captured on June 2019, while auto-generating albums

immich-go -server={{server_url}} -key={{server_key}} upload -create-albums -google-photos -date={{2019-06}} {{path/to/takeout_file.zip}}

Upload a takeout file using server and key from a configuration file

immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{path/to/takeout_file.zip}}

Examine Immich server content, remove less quality images, and preserve albums

immich-go -server={{server_url}} -key={{server_key}} duplicate -yes

Delete all albums created with the pattern "YYYY-MM-DD"

immich-go -server={{server_url}} -key={{server_key}} tool album delete {{\d{4}-\d{2}-\d{2}}}

Context

tldr-pages: common/immich-go

Revisions (0)

No revisions yet.