Created
February 19, 2024 16:40
-
-
Save yohangdev/a6dcf0f270dde53428e98706aa8f5913 to your computer and use it in GitHub Desktop.
AWS S3 Bulk Update Metadata using Command Line (CLI)
This file contains hidden or 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 cp \ | |
s3://bucket/path/ \ | |
s3://bucket/path/ \ | |
--exclude '*' \ | |
--include '*.png' \ | |
--no-guess-mime-type \ | |
--content-type="image/png" \ | |
--metadata-directive="REPLACE" \ | |
--recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment