Mirror a local folder to a bucket
Keep a local folder in sync with a bucket, watching for changes
mc mirror --watch ./data myminio/my-bucket/data
More minio commands
-
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
-
mc rb --force myminio/my-bucketDelete a bucket and all its objects