Linux command
minio-client 命令
网络
复制后可按需替换文件名、目录或参数。
常用示例
Set alias
mc alias set [myminio] [https://minio.example.com] [access_key] [secret_key]
List buckets
mc ls [myminio]
Copy file
mc cp [file.txt] [myminio/bucket/]
Mirror directory
mc mirror [local/] [myminio/bucket/]
Remove file
mc rm [myminio/bucket/file.txt]
Make bucket
mc mb [myminio/newbucket]
说明
minio-client (mc) manages MinIO and S3 storage. It provides file operations for object storage. The tool works with MinIO servers and AWS S3. Supports multiple cloud providers.
参数
- alias
- Manage server aliases.
- ls
- List objects.
- cp
- Copy objects.
- mirror
- Sync directories.
- rm
- Remove objects.
- --help
- Display help information.
FAQ
What is the minio-client command used for?
minio-client (mc) manages MinIO and S3 storage. It provides file operations for object storage. The tool works with MinIO servers and AWS S3. Supports multiple cloud providers.
How do I run a basic minio-client example?
Run `mc alias set [myminio] [https://minio.example.com] [access_key] [secret_key]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does alias do in minio-client?
Manage server aliases.