📜  aws s3 递归更改 acl - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:32.003000             🧑  作者: Mango

代码示例1
aws s3 ls s3://bucket/path/ --recursive | awk '{cmd="aws s3api put-object-acl --acl bucket-owner-full-control --bucket bucket --key "$4; system(cmd)}'