Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 517 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 517 Bytes

S3 Change ACL

Command-line utility to batch change the ACL to for all files in an Amazon S3 bucket.

Installation

composer require rsanchez/s3-change-acl

Or download the phar.

Usage

Change all files to public-read ACL

vendor/bin/s3-change-acl public-read <bucket> <access-key> <secret-key> <region>

Change all files to private ACL

vendor/bin/s3-change-acl private <bucket> <access-key> <secret-key> <region>