diff --git a/tldr/argospm b/tldr/argospm new file mode 100644 index 00000000..9b438615 --- /dev/null +++ b/tldr/argospm @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# argospm + +> This command is an alias of `argos-translate`. + +- View documentation for the original command: + +`tldr argos-translate` diff --git a/tldr/cdparanoia b/tldr/cdparanoia new file mode 100644 index 00000000..5d250271 --- /dev/null +++ b/tldr/cdparanoia @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cdparanoia + +> Extract audio tracks from CDs. +> More information: . + +- Extract all tracks and write them into separate WAV files named `track#.wav`: + +`cdparanoia {{[-B|--batch]}}` + +- Print the CD's table of contents to the terminal: + +`cdparanoia {{[-Q|--query]}}` + +- Extract tracks 2 to 5 and write them into a single WAV file: + +`cdparanoia 2-5` + +- Extract track 3 and write it into a file called `path/to/file.wav`: + +`cdparanoia 3 '{{path/to/file.wav}}'` diff --git a/tldr/cwebp b/tldr/cwebp index 2c692869..47413eb5 100644 --- a/tldr/cwebp +++ b/tldr/cwebp @@ -8,19 +8,23 @@ source: https://github.com/tldr-pages/tldr.git > Compress an image file to a WebP file. > More information: . -- Compress a WebP file with default settings (q = 75) to the [o]utput file: +- Compress a WebP file with default settings (lossy compression, q = 75) to the [o]utput file: `cwebp {{path/to/image_file}} -o {{path/to/output.webp}}` -- Compress a WebP file with the best [q]uality and largest file size: +- Compress a WebP file with the best lossy compression [q]uality and largest file size: `cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{100}}` -- Compress a WebP file with the worst [q]uality and smallest file size: +- Compress a WebP file with the worst lossy compression [q]uality and smallest file size: `cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{0}}` -- Compress a WebP file and apply resize to image: +- Compress a WebP file with lossless compression and smallest possible file size: + +`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -z 9` + +- Compress a WebP file and apply resize to image (if width or height are 0, scaling preserves aspect ratio): `cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -resize {{width}} {{height}}` diff --git a/tldr/doxx b/tldr/doxx new file mode 100644 index 00000000..4b80eb77 --- /dev/null +++ b/tldr/doxx @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# doxx + +> View `.docx` files in the terminal. +> More information: . + +- View a `.docx` file in the terminal: + +`doxx {{path/to/file}}.docx` + +- View a `.docx` file in the terminal with color support: + +`doxx {{path/to/file}}.docx --color` + +- View a `.docx` file in the terminal with image support: + +`doxx {{path/to/file}}.docx --images` + +- View a `.docx` file in the terminal and jump to a specific page: + +`doxx {{path/to/file}}.docx {{[-p|--page]}} {{page_number}}` + +- Search for a pattern in a `.docx` file: + +`doxx {{path/to/file}}.docx {{[-s|--search]}} {{pattern}}` + +- Search for a pattern while viewing a document: + +`{{pattern}}` + +- Exit document: + +`` diff --git a/tldr/linux/distrobox-stop b/tldr/linux/distrobox-stop index e0cb9af2..98e15d27 100644 --- a/tldr/linux/distrobox-stop +++ b/tldr/linux/distrobox-stop @@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git - Stop a Distrobox container non-interactively (without confirmation): -`distrobox-stop {{[-n|--name]}} {{container_name}} {{[-Y|--yes]}}` +`distrobox-stop {{container_name}} {{[-Y|--yes]}}` diff --git a/tldr/linux/flock b/tldr/linux/flock index 6a4db5ca..7c83bbfd 100644 --- a/tldr/linux/flock +++ b/tldr/linux/flock @@ -15,15 +15,15 @@ source: https://github.com/tldr-pages/tldr.git - Run a command with a file lock, or exit if the lock is currently being held (with exit code 1): -`flock {{path/to/lock.lock}} {{[-n|--nonblock]}} {{command}}` +`flock {{[-n|--nonblock]}} {{path/to/lock.lock}} {{command}}` - Run a command with a file lock, or exit with a specific error code if the lock is currently being held: -`flock {{path/to/lock.lock}} {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{command}}` +`flock {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{path/to/lock.lock}} {{command}}` - Run a command with a file lock, waiting up to 10 seconds for the lock to be available before giving up: -`flock {{path/to/lock.lock}} {{[-w|--timeout]}} 10 {{command}}` +`flock {{[-w|--timeout]}} 10 {{path/to/lock.lock}} {{command}}` - Backup a bunch of files, waiting for the previous `tar` command to finish if it's still running elsewhere and holding the same lock file (can be used in a `cron` job that runs often): diff --git a/tldr/linux/genisoimage b/tldr/linux/genisoimage index 44fd4adc..96d0bdd3 100644 --- a/tldr/linux/genisoimage +++ b/tldr/linux/genisoimage @@ -5,13 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # genisoimage -> Pre-mastering program to generate ISO9660/Joliet/HFS hybrid filesystems. -> More information: . +> This command is an alias of `mkisofs`. -- Create an ISO image from the given source directory: +- View documentation for the original command: -`genisoimage -o {{myimage.iso}} {{path/to/source_directory}}` - -- Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems: - -`genisoimage -o -allow-limited-size {{myimage.iso}} {{path/to/source_directory}}` +`tldr mkisofs` diff --git a/tldr/linux/mkisofs b/tldr/linux/mkisofs index 5e86adcd..a49db34a 100644 --- a/tldr/linux/mkisofs +++ b/tldr/linux/mkisofs @@ -16,3 +16,7 @@ source: https://github.com/tldr-pages/tldr.git - Set the disc label when creating an ISO: `mkisofs -o {{filename.iso}} -V "{{label_name}}" {{path/to/source_directory}}` + +- Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems: + +`mkisofs -o {{filename.iso}} -allow-limited-size {{path/to/source_directory}}` diff --git a/tldr/linux/pipetron b/tldr/linux/pipetron new file mode 100644 index 00000000..8ace7623 --- /dev/null +++ b/tldr/linux/pipetron @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pipetron + +> Electron node manager for PipeWire. +> More information: . + +- Start daemon specified in config file (defaults to volume daemon if not specified): + +`pipetron {{[-d|--daemon]}}` + +- Start volume daemon (mirror volume settings): + +`pipetron {{[-vd|--volume-daemon]}}` + +- Start audio daemon (mirror audio data): + +`pipetron {{[-ad|--audio-daemon]}}` diff --git a/tldr/mtr b/tldr/mtr index 68409ab1..06049596 100644 --- a/tldr/mtr +++ b/tldr/mtr @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mtr > Matt's Traceroute: combined traceroute and ping tool. +> See also: `traceroute`, `ping`. > More information: . - Traceroute to a host and continuously ping all intermediary hops: diff --git a/tldr/ping b/tldr/ping index 07892749..4e2e0876 100644 --- a/tldr/ping +++ b/tldr/ping @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ping > Send ICMP ECHO_REQUEST packets to network hosts. +> See also: `mtr`. > More information: . - Ping a host: diff --git a/tldr/regedit b/tldr/regedit index 32f7e9e9..822dad78 100644 --- a/tldr/regedit +++ b/tldr/regedit @@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git `regedit -D {{path/to/registry_key}}` +- Open the graphical registry manager: + +`regedit` + - Display help: `regedit -?`