LinuxCommandLibrary

mc.cli

minIO Client

TLDR

List buckets
$ mc ls [alias]
copy
Make bucket
$ mc mb [alias/bucket]
copy
Copy file
$ mc cp [file] [alias/bucket/]
copy
Set alias
$ mc alias set [name] [url] [access_key] [secret_key]
copy
Mirror directory
$ mc mirror [dir/] [alias/bucket/]
copy
Show object info
$ mc stat [alias/bucket/object]
copy

SYNOPSIS

mc command [options] [args]

DESCRIPTION

mc is the MinIO Client. It provides cloud storage operations for MinIO and S3-compatible services.
The tool manages buckets, objects, and policies. Works with AWS S3, GCS, and MinIO servers.

PARAMETERS

COMMAND

MinIO operation.
ls
List buckets/objects.
mb
Make bucket.
cp
Copy objects.
alias
Manage aliases.
mirror
Sync directories.
--help
Display help information.

CAVEATS

Configure aliases first. S3 compatible. Distinct from Midnight Commander.

HISTORY

mc (MinIO Client) was created by MinIO for managing object storage across cloud providers.

SEE ALSO

minio-server(1), aws(1), s3cmd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard