mc ilm
Set of commands to manage object lifecycle rules for s3 buckets.
Syntax
The mc ilm is a set of commands that is used to add, edit, list, import, export, and delete bucket lifecycle rules.
mc ilm COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...]
COMMANDS:
add add a lifecycle configuration rule to existing (if any) rule(s) on a bucket
edit modify a lifecycle configuration rule with given id
ls lists lifecycle configuration rules set on a bucket
rm remove (if any) existing lifecycle configuration rule
export export lifecycle configuration in JSON format
import import lifecycle configuration in JSON format
FLAGS:
--json enable JSON lines formatted output
--debug enable debug output
--insecure disable SSL certificate verification
--help, -h show help