Created
June 9, 2015 04:19
-
-
Save kentokento/fbcad8838f1960d9e665 to your computer and use it in GitHub Desktop.
aws-cliでs3の画像のパーミッションを一括変更
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 ls --recursive s3://{{ bucketName }}/ | awk '{print $4}' | xargs -P4 -I{} aws s3api put-object-acl --acl public-read --bucket {{ bucketName }} --key "{}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment