10911e791fd71fb3357bca6682a2c7e0fc34b8a1
- ./mc ls s3://<bucket>/<object>
where <bucket> and <object> are optional
- ./mc cp s3://<bucket>/<object> .
Downloads <object> to your present working directory
- ./mc cp <object> s3://<bucket>/<key>
Uploads <object> to your <bucket> with name <key>
where <key> is optional
Minio Client
mc - unified command line interface for Minio and S3 released under Apache license v2.
Install
# go get github.com/minio-io/mc
Usage
Commands
NAME:
mc - unified command line interface for Minio and S3
USAGE:
mc [global options] command [command options] [arguments...]
VERSION:
0.1.0
AUTHOR:
Minio Community
COMMANDS:
cp
ls
mb
sync
configure
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
Contribute
Enable bash completion
Bash completion for mc is always installed at ${HOME}/.minio/mc/mc.completion, to enable bash completion for mc cli please follow these steps.
$ source ${HOME}/.minio/mc/mc.completion
$ echo "source ${HOME}/.minio/mc/mc.completion" >> ${HOME}/.bashrc
$ mc <TAB><TAB>
configure cp h help ls mb sync
Description
Imported copy of minio/mc (AGPL-3.0, archived upstream) plus the vezha build recipe
38 MiB
Languages
Shell
85.3%
Dockerfile
11.1%
Go Template
3.6%