Skip to content

High performance self-hosted photo and video management solution.

Update command-line-interface.md (#8213)

Timothy Pillowc85563da50e1
diff --git a/docs/docs/features/command-line-interface.md b/docs/docs/features/command-line-interface.md
index bb34f8a0f6..094de609ff 100644
--- a/docs/docs/features/command-line-interface.md
+++ b/docs/docs/features/command-line-interface.md
@@ -54,16 +54,19 @@ Usage: immich [options] [command]
Command line interface for Immich
Options:
- -V, --version output the version number
- -d, --config Configuration directory (env: IMMICH_CONFIG_DIR)
- -h, --help display help for command
+ -V, --version output the version number
+ -d, --config-directory <directory> Configuration directory where auth.yml will be stored (default: "~/.config/immich/", env:
+ IMMICH_CONFIG_DIR)
+ -u, --url [url] Immich server URL (env: IMMICH_INSTANCE_URL)
+ -k, --key [key] Immich API key (env: IMMICH_API_KEY)
+ -h, --help display help for command
Commands:
- upload [options] [paths...] Upload assets
- server-info Display server information
- login [url] [key] Login using an API key
- logout Remove stored credentials
- help [command] display help for command
+ login|login-key <url> <key> Login using an API key
+ logout Remove stored credentials
+ server-info Display server information
+ upload [options] [paths...] Upload assets
+ help [command] display help for command
```
## Commands
@@ -71,23 +74,24 @@ Commands:
The upload command supports the following options:
```
-Usage: immich upload [options] [paths...]
+Usage: immich upload [paths...] [options]
Upload assets
Arguments:
- paths One or more paths to assets to be uploaded
+ paths One or more paths to assets to be uploaded
Options:
- -r, --recursive Recursive (default: false, env: IMMICH_RECURSIVE)
- -i, --ignore [paths...] Paths to ignore (env: IMMICH_IGNORE_PATHS)
- -h, --skip-hash Don't hash files before upload (default: false, env: IMMICH_SKIP_HASH)
- -H, --include-hidden Include hidden folders (default: false, env: IMMICH_INCLUDE_HIDDEN)
- -a, --album Automatically create albums based on folder name (default: false, env: IMMICH_AUTO_CREATE_ALBUM)
- -A, --album-name <name> Add all assets to specified album (env: IMMICH_ALBUM_NAME)
- -n, --dry-run Don't perform any actions, just show what will be done (default: false, env: IMMICH_DRY_RUN)
- --delete Delete local assets after upload (env: IMMICH_DELETE_ASSETS)
- --help display help for command
+ -r, --recursive Recursive (default: false, env: IMMICH_RECURSIVE)
+ -i, --ignore [paths...] Paths to ignore (default: [], env: IMMICH_IGNORE_PATHS)
+ -h, --skip-hash Don't hash files before upload (default: false, env: IMMICH_SKIP_HASH)
+ -H, --include-hidden Include hidden folders (default: false, env: IMMICH_INCLUDE_HIDDEN)
+ -a, --album Automatically create albums based on folder name (default: false, env: IMMICH_AUTO_CREATE_ALBUM)
+ -A, --album-name <name> Add all assets to specified album (env: IMMICH_ALBUM_NAME)
+ -n, --dry-run Don't perform any actions, just show what will be done (default: false, env: IMMICH_DRY_RUN)
+ -c, --concurrency <number> Number of assets to upload at the same time (default: 4, env: IMMICH_UPLOAD_CONCURRENCY)
+ --delete Delete local assets after upload (env: IMMICH_DELETE_ASSETS)
+ --help display help for command
```
Note that the above options can read from environment variables as well.