Set lifecycle policy

Apply object expiry/transition lifecycle rules to a bucket

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

tool
minio10 commands
tags
minioconfig

More minio commands

  • 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

  • mc alias set myminio https://minio.example.com ACCESSKEY SECRETKEY

    Register a MinIO server in the mc client

  • mc ls myminio

    Show all buckets on the server

  • mc mb myminio/my-bucket

    Create a new S3-compatible bucket

all 10 minio commands