LinuxCommandLibrary

immich-cli

Immich has a command-line interface (CLI) that allows you to perform certain actions from the command-line.

TLDR

Authenticate to Immich server

$ immich login [server_url/api] [server_key]
copy


Upload some image files
$ immich upload [file1.jpg file2.jpg]
copy


Upload a directory including subdirectories
$ immich upload --recursive [path/to/directory]
copy


Create an album based on a directory
$ immich upload --album-name "[My summer holiday]" --recursive [path/to/directory]
copy


Skip assets matching a glob pattern
$ immich upload --ignore [**/Raw/** **/*.tif] --recursive [path/to/directory]
copy


Include hidden files
$ immich upload --include-hidden --recursive [path/to/directory]
copy

Copied to clipboard