rsanchez / s3-change-acl
Command-line utility to batch change the ACL for all files in an Amazon S3 bucket.
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/rsanchez/s3-change-acl
Requires
- aws/aws-sdk-php: ^3.18
- symfony/console: ^3.1
README
Command-line utility to batch change the ACL to for all files in an Amazon S3 bucket.
Installation
composer require rsanchez/s3-change-acl
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>