MinIO 客户端的 mc legalhold 命令用来管理对象的合法保留,语法如下:
C:\> mc legalhold NAME: mc legalhold - manage legal hold for object(s) USAGE: mc legalhold COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...] COMMANDS: set set legal hold for object(s) clear clear legal hold for object(s) info show legal hold info for object(s) help, h Shows a list of commands or help for one command FLAGS: --config-dir value, -C value path to configuration folder (default: "C:\\Users\\Administrator\\mc") --quiet, -q disable progress bar display --no-color disable color theme --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help