Copy file to 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

    Continuously sync a local directory to a bucket

  • mc admin info myminio

    Show server capacity, uptime, drives, and status

  • mc du --depth 1 myminio

    Show storage size per bucket

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

    Apply object expiry/transition lifecycle rules to a bucket

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

    Delete a specific object from a bucket

all 10 minio commands