Skip to content

jblab/s3-bucket-acl-sync

Repository files navigation

S3 Bucket ACL Sync

License Latest Release

This is a simple Python script that allows to copy files from one S3 Bucket to another preserving the Public ACL.

Requirements

Usage

s3sync.py [-h] [-K KEY] [-S SECRET] [-s BUCKET] [-d BUCKET] [-P PROFILE] [--dryrun] [--list] [--get-policy] [--skip-existing]

Options

Option Description
-h, --help Show help message and exit
-K KEY, --key KEY AWS access key id, this has precedence over --profile option.
-S SECRET, --secret SECRET AWS secret acces key.
-s BUCKET, --src BUCKET Source S3 bucket name.
-d BUCKET, --dst BUCKET Destination S3 bucket name.
-P PROFILE, --profile PROFILE AWS profile to use.
--dryrun Displays the operations that would be performed using the specified command without actually running them.
--list Only lists files in source and/or destination bucket(s).
--get-policy Prints out the policy required in the source bucket to allow the copy across AWS accounts.
--skip-existing Skips existing key names, does not check that files are the same.

Changelog

Please consult the CHANGELOG for more information about the version history.

License

This project is licensed under the Apache 2.0 license. See the LICENSE for details.

Contributing

Please read CONTRIBUTING for details on the process for contributing to this project.

Be mindful of our Code of Conduct.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages