diff --git a/tldr/mc b/tldr/mc index 2917e777..5a1c6b5f 100644 --- a/tldr/mc +++ b/tldr/mc @@ -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 ``, the mouse or by typing the commands into the terminal. -> See also: `ranger`, `clifm`, `vifm`, `nautilus`. -> More information: . +> `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` diff --git a/tldr/mc.cli b/tldr/mc.cli new file mode 100644 index 00000000..d69072a3 --- /dev/null +++ b/tldr/mc.cli @@ -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: . + +- 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` diff --git a/tldr/mc.fm b/tldr/mc.fm new file mode 100644 index 00000000..2917e777 --- /dev/null +++ b/tldr/mc.fm @@ -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 ``, the mouse or by typing the commands into the terminal. +> See also: `ranger`, `clifm`, `vifm`, `nautilus`. +> More information: . + +- Start Midnight Commander: + +`mc` + +- Start Midnight Commander in black and white: + +`mc {{[-b|--nocolor]}}` diff --git a/tldr/mcli b/tldr/mcli new file mode 100644 index 00000000..87de0187 --- /dev/null +++ b/tldr/mcli @@ -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` diff --git a/tldr/minio-client b/tldr/minio-client new file mode 100644 index 00000000..fb2f47ee --- /dev/null +++ b/tldr/minio-client @@ -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` diff --git a/tldr/touch b/tldr/touch index 8d6b08bf..c4ccac52 100644 --- a/tldr/touch +++ b/tldr/touch @@ -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}}}`