Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-09 00:21:04 +00:00
parent 873e610a6b
commit b467fadfef
6 changed files with 78 additions and 8 deletions

13
tldr/mc
View File

@@ -5,15 +5,12 @@ source: https://github.com/tldr-pages/tldr.git
---
# mc
> Midnight Commander, a TUI file manager.
> Navigate the directory structure using the `<ArrowKeys>`, the mouse or by typing the commands into the terminal.
> See also: `ranger`, `clifm`, `vifm`, `nautilus`.
> More information: <https://midnight-commander.org>.
> `mc` can refer to multiple commands with the same name.
- Start Midnight Commander:
- View documentation for MinIO client:
`mc`
`tldr mc.cli`
- Start Midnight Commander in black and white:
- View documentation for Midnight Commander:
`mc {{[-b|--nocolor]}}`
`tldr mc.fm`

22
tldr/mc.cli Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mc
> MinIO Client for object storage and filesystems.
> May be named `mc` or `mcli` on some systems.
> More information: <https://minio.github.io/mc/>.
- Add connection to a S3 server:
`mc alias set {{local}} {{http://localhost:9000}} {{access_key}} {{secret_key}}`
- Create a bucket:
`mc mb {{local/bucket_name}}`
- List buckets and their content recursively:
`mc ls {{local}} --recursive`

19
tldr/mc.fm Normal file
View File

@@ -0,0 +1,19 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mc
> Midnight Commander, a TUI file manager.
> Navigate the directory structure using the `<ArrowKeys>`, the mouse or by typing the commands into the terminal.
> See also: `ranger`, `clifm`, `vifm`, `nautilus`.
> More information: <https://midnight-commander.org>.
- Start Midnight Commander:
`mc`
- Start Midnight Commander in black and white:
`mc {{[-b|--nocolor]}}`

12
tldr/mcli Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mcli
> This command is an alias of `mc` (MinIO client).
- View documentation for the original command:
`tldr mc.cli`

12
tldr/minio-client Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# minio-client
> This command is an alias of `mc` (MinIO client).
- View documentation for the original command:
`tldr mc.cli`

View File

@@ -27,3 +27,11 @@ source: https://github.com/tldr-pages/tldr.git
- Set the timestamp by parsing a string:
`touch {{[-d|--date]}} "{{last year|5 hours|next thursday|nov 14|...}}" {{path/to/file}}`
- Create multiple files with an increasing number:
`touch {{path/to/file{1..10}}}`
- Create multiple files with a letter range:
`touch {{path/to/file{a..z}}}`