HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mc — MinIO Client for object storage and filesystems. May be named `mc` or `mcli` on some systems. More i

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclientobjectminioclimcstoragefor

Problem

How to use the mc command: MinIO Client for object storage and filesystems. May be named mc or mcli on some systems. More information: <https://minio.github.io/mc/>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/mc

Revisions (0)

No revisions yet.