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.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for s3_loader-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76581af9ca7e5f62fe72b5a1b86fb52416533c85e36f18ab2165227c62a5ebd0 |
|
MD5 | 8a6975518f65430887304ac9e5be20f9 |
|
BLAKE2b-256 | 94f0d325b77f85c57586f88b50299a4ad250635284da088d24fd02968247032f |