Skip to content

Scans an S3 bucket for files with bad content-types and fixes them

Notifications You must be signed in to change notification settings

mediafinance/s3-content-type-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S3 Content Type Fixer

This script will scan an S3 bucket to find files with bad content-types and fix them.

To run the script, first install the dependencies:

pip install -r requirements.txt

Then run the fixer:

python s3_content_type_fixer.py --access-key <your AWS access key> --secret-key <your AWS secret key> --bucket <your S3 bucket>

About

Scans an S3 bucket for files with bad content-types and fixes them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published