s3cli-mini

command module
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 1 Imported by: 0

README

test Coverage Status

s3cli-mini

Golang port for AWS Command Line Interface S3 subcommand.

Subcommands

cp

The cp command copies a local file or S3 object to another location locally or in S3.

s3cli-mini cp <LocalPath> <S3Uri> or <S3Uri> <LocalPath> or <S3Uri> <S3Uri>
# download from a S3 bucket
s3cli-mini cp s3://your-bucket/foobar.zip .

# upload to a S3 bucket
s3cli-mini cp foobar.zip s3://your-bucket/

# copy the file from a S3 bucket to another S3 bucket.
s3cli-mini cp s3://your-bucket/foobar.zip s3://another-bucket/
ls

The ls command lists S3 objects and common prefixes under a prefix or all S3 buckets.

# show bucket list
s3cli-mini ls

# list the objects in the bucket.
s3cli-mini ls s3://your-bucket/
mb

The mb command creates an S3 bucket.

# create a bucket
s3cli-mini mb your-bucket

License

The MIT License. See LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal
fastwalk
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL