From b10686d1e9315822ba4efabcfdbabcda806708f4 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 27 Sep 2025 00:18:09 +0000 Subject: [PATCH] Update cheatsheets --- tldr/aws-s3 | 8 ++++---- tldr/aws-s3-sync | 12 ++++++------ tldr/caddy | 2 +- tldr/ember | 2 +- tldr/gatsby | 2 +- tldr/git-annex | 2 +- tldr/git-blame | 2 +- tldr/linux/ddcutil | 2 +- tldr/linux/xfreerdp | 2 +- tldr/ngrok | 2 +- tldr/nload | 2 +- tldr/osx/herd | 2 +- tldr/osx/herd-list | 2 +- tldr/pgcli | 2 +- tldr/plesk | 2 +- tldr/pre-commit | 2 +- tldr/pyinfra | 2 +- tldr/sails | 2 +- tldr/svgr | 2 +- tldr/terminalizer | 2 +- 20 files changed, 28 insertions(+), 28 deletions(-) diff --git a/tldr/aws-s3 b/tldr/aws-s3 index b17ba5ab..c98497fd 100644 --- a/tldr/aws-s3 +++ b/tldr/aws-s3 @@ -13,17 +13,17 @@ source: https://github.com/tldr-pages/tldr.git `aws s3 ls {{bucket_name}}` -- Sync files and directories from local to bucket: +- Sync files in a directory from local to bucket: -`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}}` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}` - Sync files and directories from bucket to local: `aws s3 sync s3://{{bucket_name}} {{path/to/target}}` -- Sync files and directories with exclusions: +- Sync files in a directory with exclusions: -`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` - Remove file from bucket: diff --git a/tldr/aws-s3-sync b/tldr/aws-s3-sync index c0a054ec..80d4e30f 100644 --- a/tldr/aws-s3-sync +++ b/tldr/aws-s3-sync @@ -8,13 +8,13 @@ source: https://github.com/tldr-pages/tldr.git > Recursively sync files and directories between your local system and an S3 bucket, or between S3 buckets. > More information: . -- Sync files and directories from local to a bucket: +- Sync files in a directory from local to a bucket: -`aws s3 sync {{path/to/file_or_directory}} s3://{{bucket_target_name}}/{{path/to/remote_location}}` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}/{{path/to/remote_location}}` -- Sync files and directories from a bucket to local: +- Sync files in a directory from a bucket to local: -`aws s3 sync s3://{{bucket_source_name}}/{{path/to/remote_location}} {{path/to/file_or_directory}}` +`aws s3 sync s3://{{bucket_name}}/{{path/to/remote_location}} {{path/to/directory}}` - Sync objects between two buckets: @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Sync local files to S3 while excluding specific files or directories: -`aws s3 sync {{path/to/file_or_directory}} s3://{{bucket_target_name}}/{{path/to/remote_location}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}/{{path/to/remote_location}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` - Sync objects between buckets and delete destination files not in source: @@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git - Sync files to S3 and skip unchanged ones (compare size and modification time): -`aws s3 sync {{path/to/file_or_directory}} s3://{{bucket_name}}/{{path/to/remote_location}} --size-only` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}/{{path/to/remote_location}} --size-only` - Display help: diff --git a/tldr/caddy b/tldr/caddy index 5903d262..84f3f99f 100644 --- a/tldr/caddy +++ b/tldr/caddy @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # caddy > An enterprise-ready open source web server with automatic HTTPS, written in Go. -> More information: . +> More information: . - Start Caddy in the foreground: diff --git a/tldr/ember b/tldr/ember index d0c40909..d48b8d8b 100644 --- a/tldr/ember +++ b/tldr/ember @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ember > Ember CLI: create and manage Ember.js applications. -> More information: . +> More information: . - Create a new Ember application: diff --git a/tldr/gatsby b/tldr/gatsby index d43d653f..59e7edb2 100644 --- a/tldr/gatsby +++ b/tldr/gatsby @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gatsby > Static site generator for React. -> More information: . +> More information: . - Create a new site: diff --git a/tldr/git-annex b/tldr/git-annex index 7a10ab65..25607a86 100644 --- a/tldr/git-annex +++ b/tldr/git-annex @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage files with Git, without checking their contents in. > When a file is annexed, its content is moved into a key-value store, and a symlink is made that points to the content. -> More information: . +> More information: . - Initialize a repo with Git annex: diff --git a/tldr/git-blame b/tldr/git-blame index 0da5e052..8300658c 100644 --- a/tldr/git-blame +++ b/tldr/git-blame @@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git - Jump to the parent of a specific commit and track a specific text and 10 of its following lines: -`git blame -L '/{{text}}/',+10 {{a82812aa}}^ tldr.py` +`git blame -L '/{{text}}/',+10 {{a82812aa}}^ {{path/to/file}}` - Print author name and commit hash information for a specific line range: diff --git a/tldr/linux/ddcutil b/tldr/linux/ddcutil index 028a8fbe..1965d557 100644 --- a/tldr/linux/ddcutil +++ b/tldr/linux/ddcutil @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Control the settings of connected displays via DDC/CI. > This command requires the kernel module `i2c-dev` to be loaded. > See also: `modprobe`. -> More information: . +> More information: . - List all compatible displays: diff --git a/tldr/linux/xfreerdp b/tldr/linux/xfreerdp index f5572503..6ed872ce 100644 --- a/tldr/linux/xfreerdp +++ b/tldr/linux/xfreerdp @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # xfreerdp > Free Remote Desktop Protocol implementation. -> More information: . +> More information: . - Connect to a FreeRDP server: diff --git a/tldr/ngrok b/tldr/ngrok index 6da11e49..13f5d7dd 100644 --- a/tldr/ngrok +++ b/tldr/ngrok @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ngrok > Reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. -> More information: . +> More information: . - Expose a local HTTP service on a given port: diff --git a/tldr/nload b/tldr/nload index b0aa928b..eaa274e9 100644 --- a/tldr/nload +++ b/tldr/nload @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - View network traffic on specific interfaces (use the `` to switch interfaces): -`nload devices {{interface_one}} {{interface_two}}` +`nload devices {{interface1 interface2 ...}}` diff --git a/tldr/osx/herd b/tldr/osx/herd index 88df053b..98ea2d64 100644 --- a/tldr/osx/herd +++ b/tldr/osx/herd @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # herd > An official Laravel PHP development environment for macOS. -> More information: . +> More information: . - Start the Herd services: diff --git a/tldr/osx/herd-list b/tldr/osx/herd-list index 32d206eb..25d53a7c 100644 --- a/tldr/osx/herd-list +++ b/tldr/osx/herd-list @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > List available commands in the Herd PHP platform. > See also: `herd`. -> More information: . +> More information: . - List all available commands: diff --git a/tldr/pgcli b/tldr/pgcli index 0e6c06dc..a968f4ef 100644 --- a/tldr/pgcli +++ b/tldr/pgcli @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pgcli > A modern PostgreSQL CLI with auto-completion and syntax highlighting. -> More information: . +> More information: . - Connect to a PostgreSQL database using a connection string: diff --git a/tldr/plesk b/tldr/plesk index 1ad136bb..8c5db198 100644 --- a/tldr/plesk +++ b/tldr/plesk @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # plesk > Plesk hosting control panel. -> More information: . +> More information: . - Generate an auto login link for the admin user and print it: diff --git a/tldr/pre-commit b/tldr/pre-commit index c3f72f19..210aecc8 100644 --- a/tldr/pre-commit +++ b/tldr/pre-commit @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pre-commit > Create Git hooks that get run before a commit. -> More information: . +> More information: . - Install pre-commit into your Git hooks: diff --git a/tldr/pyinfra b/tldr/pyinfra index 9739e23f..9768bd93 100644 --- a/tldr/pyinfra +++ b/tldr/pyinfra @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pyinfra > Automates infrastructure at a large scale. -> More information: . +> More information: . - Execute a command over SSH: diff --git a/tldr/sails b/tldr/sails index 6401cb70..22bccd36 100644 --- a/tldr/sails +++ b/tldr/sails @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sails > A realtime enterprise level MVC framework built on top of Node.js. -> More information: . +> More information: . - Start Sails: diff --git a/tldr/svgr b/tldr/svgr index 1d6f83e2..c00d724e 100644 --- a/tldr/svgr +++ b/tldr/svgr @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # svgr > Transform SVGs into React components. -> More information: . +> More information: . - Transform a SVG file into a React component to `stdout`: diff --git a/tldr/terminalizer b/tldr/terminalizer index 266c1381..ea98433b 100644 --- a/tldr/terminalizer +++ b/tldr/terminalizer @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Record the terminal, generate animated GIFs and a web player, and optionally upload to . > See also: `asciinema`. -> More information: . +> More information: . - Create the global configuration directory: