Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bbelderbos/s3_file_manager
https://github.com/bbelderbos/s3_file_manager
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/bbelderbos/s3_file_manager
- Owner: bbelderbos
- Created: 2024-06-22T19:23:52.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T21:27:05.000Z (3 months ago)
- Last Synced: 2024-09-07T00:11:44.743Z (27 days ago)
- Language: Rust
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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`:
```toml
[dependencies]
s3_file_manager = "0.2.0"
```## Or use as a command line tool
```bash
$ cargo install s3_file_manager
$ s3fm --help
A Rust crate for uploading files to AWS S3 and listing objects with pagination support.Usage: s3fm [OPTIONS] --bucket --region <--file-pattern |--list-images>
Options:
-b, --bucket [env: S3_BUCKET_NAME=my-bucket]
-r, --region [env: AWS_REGION=us-east-2]
-f, --file-pattern
-l, --list-images
-m, --max-items [default: 100]
-c, --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.