Copy a file to a bucket

Upload a local file to MinIO

mc cp ./file.tar.gz myminio/my-bucket/backups/

tool
minio10 commands
tags
minio

More minio commands

  • mc mirror --watch ./data myminio/my-bucket/data

    Keep a local folder in sync with a bucket, watching for changes

  • mc admin info myminio

    Show server capacity, uptime, drives and status

  • mc du --depth 1 myminio

    Show how much storage each bucket uses

  • mc ilm import myminio/my-bucket < lifecycle.json

    Apply lifecycle rules to a bucket to expire objects or move them to another tier

  • mc rm myminio/my-bucket/path/to/file.txt

    Delete one object from a bucket

all 10 minio commands