LinuxCommandLibrary

immich-go

Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server.

TLDR

Upload a Google Photos takeout file to Immich server

$ immich-go -server=[server_url] -key=[server_key] upload [path/to/takeout_file.zip]
copy


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]
copy


Upload a takeout file using server and key from a config file
$ immich-go -use-configuration=[~/.immich-go/immich-go.json] upload [path/to/takeout_file.zip]
copy


Examine Immich server content, remove less quality images, and preserve albums
$ immich-go -server=[server_url] -key=[server_key] duplicate -yes
copy


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]}
copy

Copied to clipboard