#amazon-s3 #bucket #file #dump

app true-s3-cli

S3 CLI implementation

3 releases

0.1.2 Oct 3, 2024
0.1.1 Oct 3, 2024
0.1.0 Oct 3, 2024

#888 in Network programming

GPL-3.0-or-later

27KB
229 lines

4e6uREK S3 CLI Implementation

Features

  1. Get file
  2. Put file
  3. Dump bucket
  4. Restore bucket
  5. List bucket files

How to use

First of you must provide configuration for this software. Configuration is made in Old School INI format. You can provide INI configuration using -c, --config options or write it in $HOME/.config/s3-cli/config.ini

Example INI config:

domain=http://localhost:9000
region=my-region
access_key=<ACCESS_KEY>
secret_key=<SECRET_kEY>
bucket=test
  1. Get file
true-s3-cli -r <filename>
  1. Put file
true-s3-cli -s <filename>
  1. Dump bucket
true-s3-cli -d
  1. Restore bucket
true-s3-cli -p <archive.tar>
  1. List files
true-s3-cli -l

Dependencies

~14–26MB
~395K SLoC