mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 18:50:06 +00:00
Update cheatsheets
This commit is contained in:
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`
|
||||
Reference in New Issue
Block a user