← 返回命令列表

Linux command

mc.cli 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List buckets

mc ls [alias]

Make bucket

mc mb [alias/bucket]

Copy file

mc cp [file] [alias/bucket/]

Set alias

mc alias set [name] [url] [access_key] [secret_key]

Mirror directory

mc mirror [dir/] [alias/bucket/]

Show object info

mc stat [alias/bucket/object]

说明

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.

参数

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

FAQ

What is the mc.cli command used for?

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.

How do I run a basic mc.cli example?

Run `mc ls [alias]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does ls do in mc.cli?

List buckets/objects.