All Projects → shvc → s3cli

shvc / s3cli

Licence: MIT license
Command line tool for S3

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to s3cli

awesome-storage
A curated list of storage open source tools. Backups, redundancy, sharing, distribution, encryption, etc.
Stars: ✭ 324 (+1442.86%)
Mutual labels:  s3, s3-storage, s3-client
Bucket-Flaws
Bucket Flaws ( S3 Bucket Mass Scanner ): A Simple Lightweight Script to Check for Common S3 Bucket Misconfigurations
Stars: ✭ 43 (+104.76%)
Mutual labels:  aws-s3, s3, bucket
s3-fuzzer
🔐 A concurrent, command-line AWS S3 Fuzzer. Written in Go.
Stars: ✭ 43 (+104.76%)
Mutual labels:  aws-s3, s3, bucket
ionic-image-upload
Ionic Plugin for Uploading Images to Amazon S3
Stars: ✭ 26 (+23.81%)
Mutual labels:  aws-s3, s3, s3-storage
Cloudexplorer
Cloud Explorer
Stars: ✭ 170 (+709.52%)
Mutual labels:  s3, bucket, s3-storage
Aws.s3
Amazon Simple Storage Service (S3) API Client
Stars: ✭ 302 (+1338.1%)
Mutual labels:  aws-s3, s3, s3-storage
Mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Stars: ✭ 1,962 (+9242.86%)
Mutual labels:  aws-s3, s3
0x4447 product s3 email
📫 A serverless email server on AWS using S3 and SES
Stars: ✭ 2,905 (+13733.33%)
Mutual labels:  aws-s3, s3
Are We Consistent Yet
Compare eventual consistency of object stores
Stars: ✭ 157 (+647.62%)
Mutual labels:  aws-s3, s3
terraform-aws-s3-bucket
Terraform module that creates an S3 bucket with an optional IAM user for external CI/CD systems
Stars: ✭ 138 (+557.14%)
Mutual labels:  s3, bucket
Cloudserver
Zenko CloudServer, an open-source Node.js implementation of the Amazon S3 protocol on the front-end and backend storage capabilities to multiple clouds, including Azure and Google.
Stars: ✭ 1,167 (+5457.14%)
Mutual labels:  aws-s3, s3-storage
Rust S3
Rust library for interfacing with AWS S3 and other API compatible services
Stars: ✭ 177 (+742.86%)
Mutual labels:  aws-s3, s3
image-uploader
JavaScript Image Uploader Library for use with Amazon S3
Stars: ✭ 19 (-9.52%)
Mutual labels:  aws-s3, s3-storage
Terraform Aws S3 Bucket
Terraform module which creates S3 bucket resources on AWS
Stars: ✭ 130 (+519.05%)
Mutual labels:  aws-s3, s3
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (+433.33%)
Mutual labels:  aws-s3, s3
Kafka Connect Storage Cloud
Kafka Connect suite of connectors for Cloud storage (Amazon S3)
Stars: ✭ 153 (+628.57%)
Mutual labels:  aws-s3, s3
Nestjs Multer Extended
💪 Extended MulterModule for NestJS with flexible S3 upload and helpful features
Stars: ✭ 99 (+371.43%)
Mutual labels:  aws-s3, s3
Node S3 Uploader
Flexible and efficient resize, rename, and upload images to Amazon S3 disk storage. Uses the official AWS Node SDK for transfer, and ImageMagick for image processing. Support for multiple image versions targets.
Stars: ✭ 237 (+1028.57%)
Mutual labels:  aws-s3, s3
lamba-thumbnailer
AWS S3 Video Thumbnailer with Lambda
Stars: ✭ 21 (+0%)
Mutual labels:  aws-s3, s3
terraform-aws-cloudtrail-s3-bucket
S3 bucket with built in IAM policy to allow CloudTrail logs
Stars: ✭ 38 (+80.95%)
Mutual labels:  s3, bucket

Go

s3cli

s3cli is a command-line tool for AWS S3 compatible storage service.
It is based on aws-sdk-go

Download prebuild binary here

Or build you binary from source

git clone https://github.com/shvc/s3cli
cd s3cli
make

Usage

Bucket

# create bucket
s3cli -e http://192.168.55.2:9020 create-bucket bucket-name

# list(ls) all Buckets
s3cli ls

# bucket policy get/set
s3cli policy bucket-name                 # get
s3cli policy bucket-name '{policy-json}' # set

# bucket acl get/set
s3cli acl bucket-name             # get
s3cli acl bucket-name public-read # set

# bucket versioning get/set
s3cli version bucket-name

# bucket delete
s3cli delete bucket-name

Object

  • upload(put) Objcet(s)
# upload file(s)
s3cli upload bucket-name/k0 --data KKKK          # upload a Object(k0) with content KKKK
s3cli upload bucket-name/k1 /etc/hosts           # upload a file and specify Key(k1)
s3cli upload bucket-name/k2 /etc/hosts --v2sign  # upload(V2 sign) a file and specify Key(k2)
s3cli upload bucket-name /etc/hosts              # upload a file and use filename(hosts) as Key
s3cli upload bucket-name *.txt                   # upload files and use filename as Key
s3cli upload bucket-name/dir/ *.txt              # upload files and set Prefix(dir/) to all uploaded Object
s3cli put bucket-name/k3 --presign               # presign(V4) a PUT Object URL
s3cli put bucket-name/k4 --presign --v2sign      # presign(V2) a PUT Object URL
  • download(get) Object(s)
# download Object(s)
s3cli download bucket-name/k1                    # download Object(k1) to current dir
s3cli download bucket-name/k2 --v2sign           # download(V2 sign) Object(k2) to current dir
s3cli download bucket-name/k1 k2 k3              # download Objects(k1, k2 and k3) to current dir
s3cli download bucket-name/k1 --presign          # presign(V4) a GET Object URL
s3cli download bucket-name/k2 --presign --v2sign # presign(V2) a GET Object URL
  • list(ls) Objects
# list Objects
s3cli list bucket-name           # list(default 1000 Objects)
s3cli list bucket-name --all     # list all Objects
s3cli list bucket-name/prefix    # list Objects with specified prefix
  • delete(rm) Object(s)
# delete Object(s)
s3cli delete bucket-name/k0                    # delete an Object(k0)
s3cli delete bucket-name/k1 k2 k3              # delete Objects(k1,k2,k3)
s3cli delete bucket-name/dir/ --prefix         # delete all Objects with specified prefix(dir/)
s3cli delete bucket-name --force               # delete Bucket and all Objects
s3cli delete bucket-name/k4 --presign          # presign(V4) an DELETE Object URL
s3cli delete bucket-name/k4 --presign --v2sign # presign(V2) an DELETE Object URL
  • presign(V2) URL with raw(not escape) URL path
# presign URL and not escape key
s3cli presign 'bucket/key(0*1).txt'
http://192.168.55.2:9000/bucket/key(0*1).txt?AWSAccessKeyId=object_user1&Expires=1588503108&Signature=93gNcprC%2BQTvlvaBxr0EizIpehM%3D
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].