Copy a file to a bucket
Upload a local file to MinIO
mc cp ./file.tar.gz myminio/my-bucket/backups/
More minio commands
-
mc mirror --watch ./data myminio/my-bucket/dataKeep a local folder in sync with a bucket, watching for changes
-
mc admin info myminioShow server capacity, uptime, drives and status
-
mc du --depth 1 myminioShow how much storage each bucket uses
-
mc ilm import myminio/my-bucket < lifecycle.jsonApply lifecycle rules to a bucket to expire objects or move them to another tier
-
mc rm myminio/my-bucket/path/to/file.txtDelete one object from a bucket