Set lifecycle policy
Apply object expiry/transition lifecycle rules to a bucket
mc ilm import myminio/my-bucket < lifecycle.json
- tool
- minio10 commands
More minio commands
-
mc rm myminio/my-bucket/path/to/file.txtDelete a specific object from a bucket
-
mc rb --force myminio/my-bucketDelete a bucket and all its objects
-
mc alias set myminio https://minio.example.com ACCESSKEY SECRETKEYRegister a MinIO server in the mc client
-
mc ls myminioShow all buckets on the server
-
mc mb myminio/my-bucketCreate a new S3-compatible bucket