Mirror local dir to bucket

Continuously sync a local directory to a bucket

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

tool
minio10 commands
tags
minio

More minio commands

  • 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

  • mc rb --force myminio/my-bucket

    Delete a bucket and all its objects

all 10 minio commands