s3_file_manager

Crates.ios3_file_manager
lib.rss3_file_manager
version0.2.0
sourcesrc
created_at2024-06-23 09:29:56.214024
updated_at2024-06-26 21:15:09.543425
descriptionA Rust crate for uploading files to AWS S3 and listing objects with pagination support.
homepage
repositoryhttps://github.com/bbelderbos/s3_file_manager
max_upload_size
id1281086
size48,974
Bob Belderbos (bbelderbos)

documentation

README

s3_file_manager

s3_file_manager is a Rust crate for uploading files to AWS S3 and listing objects with pagination support.

Usage

Add this to your Cargo.toml:

[dependencies]
s3_file_manager = "0.1.0"

Or use as a command line tool

$ cargo install s3_file_manager
$ s3 --help
A Rust crate for uploading files to AWS S3 and listing objects with pagination support.

Usage: s3 [OPTIONS] --bucket <BUCKET> --region <REGION> <--file-pattern <FILE_PATTERN>|--list-images>

Options:
  -b, --bucket <BUCKET>                          [env: S3_BUCKET_NAME=bobby-artwork]
  -r, --region <REGION>                          [env: AWS_REGION=us-east-2]
  -f, --file-pattern <FILE_PATTERN>
  -l, --list-images
  -m, --max-items <MAX_ITEMS>                    [default: 100]
  -c, --continuation-token <CONTINUATION_TOKEN>
  -h, --help                                     Print help
  -V, --version                                  Print version

This assumes that you have the AWS credentials (AWS_ACCESS_KEY_ID and AWS_ACCESS_SECRET_KEY) set up in your environment. If not, you can set them up using the aws configure command.

Commit count: 12

cargo fmt