mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 07:59:57 +00:00
Update cheatsheets
This commit is contained in:
13
tldr/mc
13
tldr/mc
@@ -5,15 +5,12 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# mc
|
# mc
|
||||||
|
|
||||||
> Midnight Commander, a TUI file manager.
|
> `mc` can refer to multiple commands with the same name.
|
||||||
> 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:
|
- 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
22
tldr/mc.cli
Normal 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
19
tldr/mc.fm
Normal 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
12
tldr/mcli
Normal 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
12
tldr/minio-client
Normal 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`
|
||||||
@@ -27,3 +27,11 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
- Set the timestamp by parsing a string:
|
- Set the timestamp by parsing a string:
|
||||||
|
|
||||||
`touch {{[-d|--date]}} "{{last year|5 hours|next thursday|nov 14|...}}" {{path/to/file}}`
|
`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}}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user