mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
493 B
Plaintext
23 lines
493 B
Plaintext
---
|
|
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`
|