wrapper script for uploading files and dirs to s3
Project description
s3-loader
Install
pip install s3-loader
Usage:
$ s3-loader [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
auth
: authenticate with your aws access key and...clear-bucket
: delete everything in an s3 bucketupload-dir
: upload an entire directory to s3upload-file
: upload a single file to s3
s3-loader auth
authenticate with your aws access key and secret
Usage:
$ s3-loader auth [OPTIONS] [AWS_ACCESS_KEY_ID] [AWS_SECRET_ACCESS_KEY]
Arguments:
[AWS_ACCESS_KEY_ID]
: Your aws access key [default: ][AWS_SECRET_ACCESS_KEY]
: Your aws secret acess ket [default: ]
Options:
--help
: Show this message and exit.
s3-loader clear-bucket
delete everything in an s3 bucket
Usage:
$ s3-loader clear-bucket [OPTIONS] [BUCKET_NAME]
Arguments:
[BUCKET_NAME]
: Your bucket name [default: ]
Options:
--help
: Show this message and exit.
s3-loader upload-dir
upload an entire directory to s3
Usage:
$ s3-loader upload-dir [OPTIONS] [PATH] [BUCKET_NAME]
Arguments:
[PATH]
: Path to your directory [default: ][BUCKET_NAME]
: Your bucket name [default: ]
Options:
--help
: Show this message and exit.
s3-loader upload-file
upload a single file to s3
Usage:
$ s3-loader upload-file [OPTIONS] [LOCAL_FILE] [BUCKET] [S3_FILE]
Arguments:
[LOCAL_FILE]
: Local file name [default: ][BUCKET]
: Your bucket name [default: ][S3_FILE]
: Name the file will use on s3 [default: ]
Options:
--help
: Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
s3-loader-1.0.1.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for s3_loader-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34b7433f9aa9c2a26a78de76944f5f2fd4c61e4efbd4656e71af3345a876514 |
|
MD5 | a813bd71f252da9ed152f93dd627d6c4 |
|
BLAKE2b-256 | a7fe456fae476d89c4870270d4ede0e7a35897461cf34ffd7fca943aea3ab3b8 |