diff --git a/tldr/cjxl b/tldr/cjxl new file mode 100644 index 00000000..622bfb3d --- /dev/null +++ b/tldr/cjxl @@ -0,0 +1,22 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cjxl + +> Compress images to JPEG XL. +> Accepted input extensions are PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX, and JXL. +> More information: . + +- Convert an image to JPEG XL: + +`cjxl {{path/to/image.ext}} {{path/to/output.jxl}}` + +- Set quality to lossless and maximize compression of the resulting image: + +`cjxl --distance 0 --effort 9 {{path/to/image.ext}} {{path/to/output.jxl}}` + +- Display an extremely detailed help page: + +`cjxl --help --verbose --verbose --verbose --verbose` diff --git a/tldr/djxl b/tldr/djxl new file mode 100644 index 00000000..d800abf3 --- /dev/null +++ b/tldr/djxl @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# djxl + +> Decompress JPEG XL images. +> Accepted output extensions are PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP and JUMBF. +> More information: . + +- Decompress a JPEG XL image to another format: + +`djxl {{path/to/image.jxl}} {{path/to/output.ext}}` + +- Display an extremely detailed help page: + +`djxl --help --verbose --verbose --verbose --verbose` diff --git a/tldr/linux/proctl b/tldr/linux/proctl new file mode 100644 index 00000000..01fa3341 --- /dev/null +++ b/tldr/linux/proctl @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# proctl + +> Manage projects licenses and languages, switch between templated licenses. +> More information: . + +- List available licenses: + +`proctl {{-ll|-list-licenses}}` + +- List available languages: + +`proctl {{-lL|-list-languages}}` + +- Pick a license in a FZF menu: + +`proctl {{-pl|-pick-license}}` + +- Pick a language in a FZF menu: + +`proctl {{-pL|-pick-language}}` + +- Remove all licenses from the current project: + +`proctl {{-r|-remove-license}}` + +- Create a new license template: + +`proctl {{-t|-new-template}}` + +- Delete a license from templates: + +`proctl {{-R|-delete-license}} {{@license_name1 @license_name2 ...}}` + +- Show this helpful list of commands: + +`proctl {{-h|-help}}` diff --git a/tldr/mkdir b/tldr/mkdir index dd1678c6..65d0a831 100644 --- a/tldr/mkdir +++ b/tldr/mkdir @@ -12,10 +12,10 @@ source: https://github.com/tldr-pages/tldr.git `mkdir {{path/to/directory1 path/to/directory2 ...}}` -- Create specific directories and their [p]arents if needed: +- Create specific directories and their parents if needed: -`mkdir -p {{path/to/directory1 path/to/directory2 ...}}` +`mkdir {{-p|--parents}} {{path/to/directory1 path/to/directory2 ...}}` - Create directories with specific permissions: -`mkdir -m {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}` +`mkdir {{-m|--mode}} {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}` diff --git a/tldr/pg_dumpall b/tldr/pg_dumpall index d204c55c..ce23ac5e 100644 --- a/tldr/pg_dumpall +++ b/tldr/pg_dumpall @@ -14,19 +14,15 @@ source: https://github.com/tldr-pages/tldr.git - Dump all databases using a specific username: -`pg_dumpall --username={{username}} > {{path/to/file.sql}}` +`pg_dumpall {{-U|--username}} {{username}} > {{path/to/file.sql}}` - Same as above, customize host and port: `pg_dumpall -h {{host}} -p {{port}} > {{output_file.sql}}` -- Dump all databases into a custom-format archive file with moderate compression: - -`pg_dumpall -Fc > {{output_file.dump}}` - - Dump only database data into an SQL-script file: -`pg_dumpall --data-only > {{path/to/file.sql}}` +`pg_dumpall {{-a|--data-only}} > {{path/to/file.sql}}` - Dump only schema (data definitions) into an SQL-script file: