/s3-copy

CLI for copying static files to S3

Primary LanguageGoMIT LicenseMIT

s3-copy

CLI for copying static files to an S3-compatible storage system.

Usage

The CLI uses the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables for authentication.

$ s3-copy --help
Usage of s3-copy:
  -app-version string
        Application version to tag files with.
  -bucket string
        Bucket name
  -endpoint string
        AWS endpoint
  -region string
        AWS region (default "us-east-1")

DigitalOcean Spaces

For the spaces endpoint https://my-space.nyc3.digitaloceanspaces.com/, the copy command would be:

s3-copy -bucket my-space -endpoint nyc3.digitaloceanspaces.com