diff --git a/tldr/immich b/tldr/immich new file mode 100644 index 00000000..a8d1a02e --- /dev/null +++ b/tldr/immich @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# immich + +> Immich command-line interface (CLI) that allows you to perform certain actions. +> See also: `immich-go`. +> More information: . + +- Authenticate to Immich server: + +`immich login {{server_url/api}} {{server_key}}` + +- Upload some image files: + +`immich upload {{file1.jpg file2.jpg ...}}` + +- Upload a directory including subdirectories: + +`immich upload --recursive {{path/to/directory}}` + +- Create an album based on a directory: + +`immich upload --album-name "{{My summer holiday}}" --recursive {{path/to/directory}}` + +- Skip assets matching a glob pattern: + +`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{path/to/directory}}` + +- Include hidden files: + +`immich upload --include-hidden --recursive {{path/to/directory}}` diff --git a/tldr/k9s b/tldr/k9s index 40f025e3..af71a83a 100644 --- a/tldr/k9s +++ b/tldr/k9s @@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git - Manage a cluster using a given kubernetes namespace: -`k9s --namespace {{kubernetes_namespace}} --cluster {{cluster_name}}` +`k9s {{[-n|--namespace]}} {{kubernetes_namespace}} --cluster {{cluster_name}}` - Manage a cluster launching k9s in the pod view and enable debug logging: -`k9s --command {{pod}} --logLevel debug --cluster {{cluster_name}}` +`k9s {{[-c|--command]}} {{pod}} {{[-l|--logLevel]}} debug --cluster {{cluster_name}}` diff --git a/tldr/pamditherbw b/tldr/pamditherbw index 429181f0..cb56c685 100644 --- a/tldr/pamditherbw +++ b/tldr/pamditherbw @@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git - Read a PGM image, apply dithering and save it to a file: -`ppmditherbw {{path/to/image.pgm}} > {{path/to/file.pgm}}` +`pamditherbw {{path/to/image.pgm}} > {{path/to/file.pgm}}` - Use the specified quantization method: -`ppmditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` +`pamditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` - Use the atkinson quantization method and the specified seed for a pseudo-random number generator: -`ppmditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` +`pamditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` - Specify the thresholding value for quantization methods that perform some sort of thresholding: -`ppmditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` +`pamditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` diff --git a/tldr/pgmramp b/tldr/pgmramp index 389ba2de..cdd30256 100644 --- a/tldr/pgmramp +++ b/tldr/pgmramp @@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git - Generate a left-to-right greyscale map: -`pgmtexture -lr > {{path/to/output.pgm}}` +`pgmramp -lr > {{path/to/output.pgm}}` - Generate a top-to-bottom greyscale map: -`pgmtexture -tb > {{path/to/output.pgm}}` +`pgmramp -tb > {{path/to/output.pgm}}` - Generate a rectangular greyscale map: -`pgmtexture -rectangle > {{path/to/output.pgm}}` +`pgmramp -rectangle > {{path/to/output.pgm}}` - Generate a elliptical greyscale map: -`pgmtexture -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}` +`pgmramp -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}` - Generate a greyscale map from the top-left corner to the bottom-right corner: -`pgmtexture -diagonal {{path/to/image.pgm}} > {{path/to/output.pgm}}` +`pgmramp -diagonal {{path/to/image.pgm}} > {{path/to/output.pgm}}` diff --git a/tldr/r2e b/tldr/r2e index fc241074..56baa676 100644 --- a/tldr/r2e +++ b/tldr/r2e @@ -28,3 +28,7 @@ source: https://github.com/tldr-pages/tldr.git - Delete a feed at a specified index: `r2e delete {{index}}` + +- Display help: + +`r2e {{[-h|--help]}}` diff --git a/tldr/radare2 b/tldr/radare2 index 193ceb92..67264d48 100644 --- a/tldr/radare2 +++ b/tldr/radare2 @@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git - Display help text for any command in the interactive CLI: -`> {{radare2_command}}?` +`{{radare2_command}}?` - Run a shell command from the interactive CLI: -`> !{{shell_command}}` +`!{{shell_command}}` - Dump raw bytes of current block to a file: diff --git a/tldr/starship b/tldr/starship index b3967d7e..d6160178 100644 --- a/tldr/starship +++ b/tldr/starship @@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Edit the starship configuration in the default editor: -`starship configure` +`starship config` - Create a bug report GitHub issue pre-populated with information about the system and starship configuration: