diff --git a/tldr/asciinema b/tldr/asciinema index 650b500a..a4f81037 100644 --- a/tldr/asciinema +++ b/tldr/asciinema @@ -29,7 +29,7 @@ source: https://github.com/tldr-pages/tldr.git `asciinema play https://asciinema.org/a/{{cast_id}}` -- Make a new recording, limiting any [i]dle time to at most 2.5 seconds: +- Make a new recording, limiting any idle time to at most 2.5 seconds: `asciinema rec {{-i|--idle-time-limit}} 2.5` diff --git a/tldr/calibredb b/tldr/calibredb index ae457db6..ce16256a 100644 --- a/tldr/calibredb +++ b/tldr/calibredb @@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git `calibredb add {{path/to/file1 path/to/file2 ...}}` -- [r]ecursively add all e-books under a directory to the library: +- Recursively add all e-books under a directory to the library: `calibredb add {{-r|--recurse}} {{path/to/directory}}` diff --git a/tldr/linux/pacman-r b/tldr/linux/pacman-r new file mode 100644 index 00000000..04f8a1a2 --- /dev/null +++ b/tldr/linux/pacman-r @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pacman -R + +> This command is an alias of `pacman --remove`. + +- View documentation for the original command: + +`tldr pacman remove` diff --git a/tldr/linux/pacman-remove b/tldr/linux/pacman-remove index 2f635af7..d06109e0 100644 --- a/tldr/linux/pacman-remove +++ b/tldr/linux/pacman-remove @@ -9,30 +9,30 @@ source: https://github.com/tldr-pages/tldr.git > See also: `pacman`. > More information: . -- Remove a package and its dependencies: +- [R]emove a package and its dependencies recur[s]ively: -`sudo pacman --remove --recursive {{package}}` +`sudo pacman -Rs {{package}}` -- Remove a package and both its dependencies and configuration files: +- [R]emove a package and its dependencies. Also do [n]ot save backups of configuration files: -`sudo pacman --remove --recursive --nosave {{package}}` +`sudo pacman -Rsn {{package}}` -- Remove a package without prompting: +- [R]emove a package without prompting: -`sudo pacman --remove --noconfirm {{package}}` +`sudo pacman -R --noconfirm {{package}}` -- Remove orphan packages (installed as dependencies but not required by any package): +- [R]emove orphan packages (installed as [d]ependencies but no[t] required by any package): -`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` +`sudo pacman -Rsn $(pacman -Qdtq)` -- Remove a package and all packages that depend on it: +- [R]emove a package and [c]ascade that to all packages that depend on it: -`sudo pacman --remove --cascade {{package}}` +`sudo pacman -Rc {{package}}` -- List packages that would be affected (does not remove any packages): +- List and [p]rint packages that would be affected (does not [R]emove any packages): -`pacman --remove --print {{package}}` +`pacman -Rp {{package}}` -- Display help: +- Display [h]elp: -`pacman --remove --help` +`pacman -Rh` diff --git a/tldr/magick-mogrify b/tldr/magick-mogrify index 64d1d215..6b5211b5 100644 --- a/tldr/magick-mogrify +++ b/tldr/magick-mogrify @@ -29,3 +29,7 @@ source: https://github.com/tldr-pages/tldr.git - Double the brightness of all image files in the current directory: `magick mogrify -modulate {{200}} {{*}}` + +- Reduce file sizes of all GIF images in the current directory by reducing quality: + +`magick mogrify -layers 'optimize' -fuzz {{7%}} {{*.gif}}` diff --git a/tldr/npm-check b/tldr/npm-check index 5f85de6d..06bc1019 100644 --- a/tldr/npm-check +++ b/tldr/npm-check @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-check +# npm check > Check for outdated, incorrect, and unused npm package dependencies. > More information: . diff --git a/tldr/npm-home b/tldr/npm-home index e8f9a3a0..b8e3f12a 100644 --- a/tldr/npm-home +++ b/tldr/npm-home @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-home +# npm home > Open the npm page, Yarn page, or GitHub repository of a package in the web browser. > More information: . diff --git a/tldr/npm-install b/tldr/npm-install index 7d2c5a38..21ba2b01 100644 --- a/tldr/npm-install +++ b/tldr/npm-install @@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git --- # npm install -> Install node packages. +> Install Node packages. > More information: . -- Install dependencies listed in package.json: +- Install dependencies listed in `package.json`: `npm install` diff --git a/tldr/npm-login b/tldr/npm-login index 2b4f8c79..040c94f0 100644 --- a/tldr/npm-login +++ b/tldr/npm-login @@ -6,16 +6,17 @@ source: https://github.com/tldr-pages/tldr.git # npm login > Login to a registry user account. +> See also: `npm logout` for logging out. > More information: . - Login to a registry user account and save the credentials to the `.npmrc` file: `npm login` -- Login, using a custom registry: +- Login using a custom registry: `npm login --registry={{registry_url}}` -- Login, using a specific authentication strategy: +- Login using a specific authentication strategy: `npm login --auth-type={{legacy|web}}` diff --git a/tldr/npm-logout b/tldr/npm-logout new file mode 100644 index 00000000..f4652a87 --- /dev/null +++ b/tldr/npm-logout @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# npm logout + +> Logout of the registry user account. +> See also: `npm login` for logging in. +> More information: . + +- Logout of the registry user account: + +`npm logout` + +- Logout using a custom registry: + +`npm logout --registry={{registry_url}}` diff --git a/tldr/npm-name b/tldr/npm-name index a2134a38..13e2cf3e 100644 --- a/tldr/npm-name +++ b/tldr/npm-name @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-name +# npm name > Check whether a package or organization name is available on npm. > More information: . diff --git a/tldr/npm-org b/tldr/npm-org index 7b97cc42..6b316431 100644 --- a/tldr/npm-org +++ b/tldr/npm-org @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-org +# npm org > Manage organizations. > More information: . diff --git a/tldr/npm-outdated b/tldr/npm-outdated index cfa45ab7..1ecb3d53 100644 --- a/tldr/npm-outdated +++ b/tldr/npm-outdated @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-outdated +# npm outdated > Check for outdated npm package dependencies. > More information: . diff --git a/tldr/npm-owner b/tldr/npm-owner index 4adaab8b..8b2cc30e 100644 --- a/tldr/npm-owner +++ b/tldr/npm-owner @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-owner +# npm owner > Manage ownership of published packages. > More information: . diff --git a/tldr/npm-why b/tldr/npm-why index 73374363..5402e361 100644 --- a/tldr/npm-why +++ b/tldr/npm-why @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# npm-why +# npm why > Identifies why an npm package is installed. > More information: .